Commit Graph

555 Commits (f71ed63325688aadefc9c6b65b82d3ced11717ad)

Author SHA1 Message Date
JacobBarthelmeh f71ed63325
Merge pull request #73 from cconlon/releasePrep
Release prep and fixes for 1.8.0
2021-11-12 13:55:43 -08:00
Chris Conlon a4f1447d99 add FIPS 140-3 compatibility to 1.8.0 release notes 2021-11-12 14:47:26 -07:00
Chris Conlon 7bbdbee528 return String[] directly from WolfSSL.java cipher suite getters 2021-11-12 14:34:45 -07:00
Chris Conlon 202aa77ff4 run FIPS 140-3 CAST up front on library load if needed 2021-11-12 14:27:19 -07:00
Chris Conlon f594800c23 update README for 1.8.0 release 2021-11-11 17:17:53 -07:00
Chris Conlon b5286ced6f add kdf.c to Android AOSP Android.mk 2021-11-11 16:33:53 -07:00
Chris Conlon 6e0b59090f fix FIPS Ready compatibility with WC_RNG_SEED_CB 2021-11-11 11:34:41 -07:00
Chris Conlon 2b402959bc add WolfSSL.getCiphersAvailableIana(), use to set default cipher suites in JSSE WolfSSLContext 2021-11-11 11:34:37 -07:00
Chris Conlon 01bce04aeb update README.md, add examples/README.md and examples/provider/README.md 2021-11-05 14:37:42 -06:00
Chris Conlon 50627b436d switch to a single README.md 2021-11-05 13:06:55 -06:00
Chris Conlon a6af7b51af update IDE/Android/README.md 2021-11-05 12:40:04 -06:00
Chris Conlon a208231f4a update IDE/Android project 2021-11-05 12:39:50 -06:00
Chris Conlon 34fed15cd0 adjustments to provider tests from Android IDE project update 2021-11-05 12:36:49 -06:00
JacobBarthelmeh 7f89200e49
Merge pull request #69 from cconlon/verifyCbfix
Internal verify callback fixes and rework
2021-11-05 00:35:20 +07:00
Chris Conlon 393035953c move WolfSSLImplementSSLSession variables to top of scope, add license header to WolfSSLInternalVerifyCb.java 2021-11-04 11:32:40 -06:00
JacobBarthelmeh 4a65ce380b
Merge pull request #72 from cconlon/android_install_update
Update Android AOSP install script, build options
2021-11-05 00:22:53 +07:00
Chris Conlon b9d66f8eb0 update Android install script, create missing files if needed 2021-10-15 17:08:08 -06:00
Chris Conlon 76da3b0eff define SIZEOF_LONG and SIZEOF_LONG_LONG for Android builds to prevent build warning 2021-10-15 17:07:43 -06:00
JacobBarthelmeh 8f5b691fbe
Merge pull request #71 from cconlon/jsseThreadExamples
add multi-threaded JSSE provider client and server example
2021-10-15 04:44:56 +07:00
Chris Conlon 4db73ba28d make WolfSSL object a static class variable in WolfSSLProvider 2021-10-12 15:50:19 -06:00
Chris Conlon 42b86b6e44 fix unused variable warnings when HAVE_FIPS not defined 2021-10-12 15:50:19 -06:00
Chris Conlon da5dc9df42 remove extraneous XFREE calls in WolfSSLCertificate.c 2021-10-12 15:50:19 -06:00
Chris Conlon b226e7d045 free native WOLFSSL PK callback ctx global jni refs in wolfSSL_free() 2021-10-12 15:50:19 -06:00
Chris Conlon 8c01c9c93f add call to DeleteGlobalRef for native WOLFSSL CRL callback, only currently applies to JNI not JSSE-only 2021-10-12 15:50:19 -06:00
Chris Conlon 7597b5e35a make sure to DeleteGlobalRef on g_cachedSSLObj in error cases when setting up in newSSL() 2021-10-12 15:50:19 -06:00
Chris Conlon c7925f45dc add call to DeleteGlobalRef for native CTX-level CRL callback, only affects JNI not JSSE 2021-10-12 15:50:19 -06:00
Chris Conlon 062a63e8da add call to DeleteGlobalRef for native CTX-level verify callback, only affects JNI not JSSE 2021-10-12 15:50:19 -06:00
Chris Conlon d0e2ceaa9e add call to DeleteGlobalRef for native FIPS callback object (HAVE_FIPS builds only) 2021-10-12 15:50:19 -06:00
Chris Conlon b5d5ffd5fb add call to DeleteGlobalRef for native logging callback object 2021-10-12 15:50:19 -06:00
Chris Conlon 30cab26c4f more diligent about feeing native certificate memory when possible 2021-10-12 15:50:19 -06:00
Chris Conlon cda657839b free native WOLFSSL when WolfSSLSocket is closed, earlier than finalize 2021-10-12 15:50:19 -06:00
Chris Conlon 09a18dbfba add multi-threaded JSSE provider client and server example 2021-10-07 09:58:28 -06:00
Chris Conlon 30e7ec6f03 add call to WolfSSL.cleanup() in finalizer 2021-10-04 11:56:32 -06:00
Chris Conlon db10d01ac1 fix memory leak of internal verify callback, add support for multiple simultaneous session callbacks 2021-10-04 11:56:32 -06:00
Chris Conlon 4f60a888d8
Merge pull request #70 from JacobBarthelmeh/memory
use '0' when releasing array
2021-10-04 11:54:57 -06:00
JacobBarthelmeh ebfe3239f0 abort use of array elements on error case 2021-10-03 21:32:01 -07:00
JacobBarthelmeh 274c36ecbd use '0' when releasing array 2021-10-03 20:12:16 -07:00
JacobBarthelmeh fef868590f
Merge pull request #68 from cconlon/altNameOrder
fix failing WolfSSLX509 altName test, reverse order needed
2021-09-27 22:51:20 +07:00
Chris Conlon e9ee12ec05 fix failing WolfSSLX509 altName test, reverse order needed 2021-09-23 11:39:16 -06:00
JacobBarthelmeh 42d210ec0d
Merge pull request #67 from cconlon/timeout
fix socketSelect setting of timeout sec/usec
2021-08-27 21:39:17 +07:00
Chris Conlon de084ea6eb fix socketSelect setting of timeout sec/usec 2021-08-06 13:56:34 -06:00
JacobBarthelmeh a1eb370cdd
Merge pull request #66 from cconlon/getSoTimeout
Correct behavior of WolfSSLSocket.getSoTimeout()
2021-07-14 20:48:07 +07:00
Chris Conlon 131f78d864 add createSocket() test to verify getSoTimeout() works correctly 2021-07-09 17:10:16 -06:00
Chris Conlon 87cd7fcb84 fix WolfSSLSocket.getSoTimeout() use with inner socket 2021-07-09 17:09:38 -06:00
Chris Conlon 72732f0251
Merge pull request #64 from JacobBarthelmeh/jsse
initial refactor of SSLSessionContext implementation
2021-05-26 11:33:56 -06:00
JacobBarthelmeh e8805adfb3
Merge pull request #65 from cconlon/0521
prevent NullPointerException in WolfSSLParameters.getCipherSuites()
2021-05-24 15:18:30 +07:00
Chris Conlon 728e90c5d9 return null instead of clone() in WolfSSLParameter getter methods if object is null 2021-05-21 12:39:47 -06:00
Jacob Barthelmeh ee2a6ee05f add pseudo session ID for TLS 1.3 2021-05-21 17:25:50 +07:00
JacobBarthelmeh e76135676e
Merge pull request #62 from cconlon/fipsCoreHash
Add wrappers to get FIPS verifyCore hash (FIPS error callback, or directly)
2021-05-19 11:41:00 +07:00
Chris Conlon 00f84cca71 use JNIGlobalRefType enum, delete FIPS callback jstring ref, return NOT_COMPILED_IN from setFIPSCb 2021-05-18 12:14:11 -06:00