John Safranek
b1ed852f36
Fix TCP with Timeout
...
wolfSSL remains agnostic to network socket behavior be it blocking or non-blocking. The non-blocking flag was meant for the default EmbedRecvFrom() callback for use with UDP to assist the timing of the handshake.
1. Deprecate wolfSSL_set_using_nonblock() and wolfSSL_get_using_nonblock() for use with TLS sockets. They become don't-cares when used with TLS sessions.
2. Added functions wolfSSL_dtls_set_using_nonblock() and wolfSSL_dtls_get_using_nonblock().
3. Removed a test case from EmbedReceive() that only applied to UDP.
4. Removed the checks for non-blocking sockets from EmbedReceive().
5. Socket timeouts only apply to DTLS sessions.
2018-05-23 11:29:16 -07:00
David Garske
a38576146e
* Added support for disabling PEM to DER functionality using WOLFSSL_PEM_TO_DER
. This allows way to use with DER (ASN.1) certificates only in an embedded environment. This option builds, but internal make check requires PEM support for tests.
...
* More cleanup to move PEM functions from ssl.c to asn.c (`wolfSSL_CertPemToDer`, `wolfSSL_KeyPemToDer`, `wolfSSL_PubKeyPemToDer`). Renamed these API's to `wc_` and added backwards compatability macro for old function names.
2018-04-09 13:28:15 -07:00
David Garske
e564c973b6
Refactor IO callback function names to use _CTX_
to eliminate confusion about the first parameter.
2018-03-21 16:08:55 -07:00
David Garske
54c663ed49
Added new API wolfSSL_GetVersion
to get version as wolfSSL value which can be passed into wolfSSL_SetVersion
. Fixed duplicate CyaSSL_CTX_use_PrivateKey_buffer
define. Added TLS1.3 to wolfSSL_SetVersion
.
2017-11-10 11:13:48 -08:00
David Garske
911b6f95f8
Release v3.12.2 (lib 14.0.0). Updated copywright.
2017-10-22 15:58:35 -07:00
Jacob Barthelmeh
3763b88397
rename the file io.h to wolfio.h
2017-09-20 10:53:11 -06:00
Jacob Barthelmeh
e99a5b0483
prepare for release v3.9.0
2016-03-17 16:02:13 -06:00
toddouska
1f8701540d
change SESSION_STATS to PRINT_SESSION_STATS, will add WOLFSSL_SESSION_STATS
2015-04-14 12:35:24 -07:00
John Safranek
fe303c97c6
refactor CRL/OCSP lookup for peer cert. add option to allow checking all certs in peer cert chain.
2015-03-23 17:35:56 -07:00
kaleb-himes
db8619cc76
compatibility layer psk updates
2015-02-23 09:45:22 -07:00
lchristina26
29be69b92b
change CYASSL_DEBUG to DEBUG_CYASSL for compatibility
2015-01-30 09:11:42 -07:00
kaleb-himes
3393c3a4b4
CYASSL_DEBUG in compatibility layer
2015-01-23 11:06:01 -07:00
kaleb-himes
780d01afc6
tirtos compatibility
2015-01-19 09:07:13 -07:00
Jacob Barthelmeh
03345f1024
catch cyassl_sniffer macro
2015-01-13 13:40:53 -07:00
kaleb-himes
288d9a039d
legacy defines and updates
2015-01-13 13:27:01 -07:00
Jacob Barthelmeh
7f3184b0ed
header file includes for compatibility and macros added to cyassl/ssl.h
2015-01-12 14:45:21 -07:00
kaleb-himes
6b1484ef2f
sniffer underscore
2015-01-09 11:33:40 -07:00
kaleb-himes
d6dcaab89e
sniffer added to compatibility layer
2015-01-09 11:31:31 -07:00
Jacob Barthelmeh
d366599285
adding comment to header and _fips to c files
2015-01-08 10:42:01 -07:00
kaleb-himes
a389620a29
Copyright (C) updates
2015-01-08 09:39:04 -07:00
Jacob Barthelmeh
95aad35e41
prunning on ctaocrypt files
2015-01-06 22:23:20 -07:00
kaleb-himes
067b85877d
full commit passing
2015-01-06 11:29:05 -07:00
kaleb-himes
53ddf53a45
compatibility layer update
2015-01-05 14:38:16 -07:00
kaleb-himes
dcbfae1c31
Anon added to compatibility layer
2015-01-05 11:21:40 -07:00
kaleb-himes
4ba12c86cb
fastmath, maxfragment, md5, iopool, certreq, certgen
2015-01-05 09:53:00 -07:00
Jacob Barthelmeh
e6ebbf4fc2
pre-commit pass and update to name change files
2015-01-03 23:33:14 -07:00
Jacob Barthelmeh
2520973b73
update to c files for name change and pwdbased along with debugging src function calls
2015-01-03 19:09:48 -07:00
Jacob Barthelmeh
144798c962
update to md functions and blake for hmac
2015-01-03 17:24:51 -07:00
kaleb-himes
88e32c6c5a
compatability and sniffer.c
2014-12-31 13:41:30 -07:00
kaleb-himes
59eb83c6e9
auto-tools and wc_ updates
2014-12-31 10:01:32 -07:00
kaleb-himes
62a5548009
compatibility layer additions for wolfssl/ssl.h
2014-12-30 16:19:50 -07:00
kaleb-himes
e8d8f97c64
src/ssl.c, cyassl/ssl.h
2014-12-30 15:48:01 -07:00
Jacob Barthelmeh
e1db640cd5
test for command line utility
2014-12-30 15:37:12 -07:00
Jacob Barthelmeh
26a2688f0e
debuging test script
2014-12-30 13:05:24 -07:00
kaleb-himes
7da867135f
wolfssl/openssl/ headers updated
2014-12-30 11:52:21 -07:00
Jacob Barthelmeh
5eef118ff5
test and debug of poly-chacha suites
2014-12-30 10:30:54 -07:00
kaleb-himes
64d06580c1
examples not seeing WOLFSSL_API
2014-12-29 16:30:26 -07:00
kaleb-himes
edf53a1ed0
new changes
2014-12-29 10:27:03 -07:00
Kaleb Himes
a37fb63c0c
examples
2014-12-19 16:53:49 -07:00
Jacob Barthelmeh
279f149828
adjustments to reverse compatibility
2014-12-19 16:31:01 -07:00
Jacob Barthelmeh
77f167790d
progress on name change
2014-12-19 15:43:19 -07:00
Jacob Barthelmeh
5107c6c12b
debugging linking error
2014-12-19 15:30:07 -07:00
Kaleb Himes
626a4f318e
removed ifdef
2014-12-19 15:13:15 -07:00
Kaleb Himes
86ea853eab
header and compatibility layer updates
2014-12-19 15:09:20 -07:00
Kaleb Himes
4f15949bd6
compatibility updates
2014-12-19 13:06:42 -07:00
Kaleb Himes
8212f5df46
src and compatability layer updates
2014-12-19 12:50:30 -07:00
Jacob Barthelmeh
a5529b124d
moving over more files
2014-12-19 09:56:51 -07:00
Jacob Barthelmeh
d958a2f3d6
close to build test with --disable-examples option
2014-12-18 15:40:09 -07:00
Kaleb Himes
7bab3a9564
headers
2014-12-18 14:53:27 -07:00
Jacob Barthelmeh
e6a629118c
api calls to crypt library in portibality layer
2014-12-18 14:23:33 -07:00