enarx-archive / tlssock

A library exposing TLS/DTLS sockets using the POSIX networking APIs
Apache License 2.0
18 stars 7 forks source link

Change the error map in ts-openssl #17

Closed DK-DARKmatter closed 5 years ago

DK-DARKmatter commented 5 years ago

Change the map relationship of SSL_ERROR_ZERO_RETURN in OpenSSL with ENOTCONN. Also, increase the sleep time of parent process in the test, this will give enough time for your machine to process it.

codecov-io commented 5 years ago

Codecov Report

Merging #17 into master will increase coverage by 0.06%. The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #17      +/-   ##
==========================================
+ Coverage   64.28%   64.34%   +0.06%     
==========================================
  Files          13       13              
  Lines        1176     1178       +2     
==========================================
+ Hits          756      758       +2     
  Misses        420      420
Impacted Files Coverage Δ
lib/tls-openssl.c 78.03% <ø> (ø) :arrow_up:
tests/run.c 84.79% <100%> (+0.17%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update c1d9eb7...14e4029. Read the comment docs.

npmccallum commented 5 years ago

Please submit these patches separately. Patches should always be separate logical changes.

DK-DARKmatter commented 5 years ago

Sorry, I will fix this quickly.