Commit Graph

624 Commits (59afb975daa2d86bb64b82de3d211ec9edd53949)

Author SHA1 Message Date
Chris Conlon 44ebbb7154 update junit to latest 4.13.2 2022-01-14 16:29:26 -07:00
Chris Conlon 84c9f99550 WolfSSLTrustManager: add support for loading default cacerts in Java 9+ 2022-01-14 13:22:01 -07:00
Chris Conlon d3665b5c72 WolfSSLSocket: test if close() called before WolfSSLSocket init, prevent NullPointerException 2022-01-07 14:36:31 -07:00
JacobBarthelmeh 7eb9f2c2b3
Merge pull request #80 from cconlon/clientExampleResume
add option to do one session resumption to ClientJSSE example
2022-01-06 10:36:28 -07:00
JacobBarthelmeh ee0d214471
Merge pull request #83 from cconlon/sslenginefixes
fixes for SSLEngine handling of shutdown / close_notify
2022-01-05 14:35:19 -07:00
Chris Conlon 2df1c417f4 fix SSLEngine shutdown detection 2021-12-22 16:20:38 -07:00
Chris Conlon 782af7a854
Merge pull request #81 from JacobBarthelmeh/cert 2021-12-22 11:09:44 -07:00
JacobBarthelmeh 18d5bf9b3c
Merge pull request #76 from cconlon/getSessionDoHandshake
SSLSocket.getSession() is expected to do handshake if not completed yet
2021-12-22 11:00:46 -07:00
Jacob Barthelmeh 6167d3916e update test cases to match updated certificates 2021-12-22 10:57:52 -07:00
Jacob Barthelmeh c403b55a49 update certificates 2021-12-22 09:54:12 -07:00
Jacob Barthelmeh bd24ccbd72 update expired google root cert for testing 2021-12-22 09:48:43 -07:00
JacobBarthelmeh a752d270f7
Merge pull request #78 from cconlon/certSynchronization
synchronize class free() calls that access native cleanup functions
2021-12-22 09:19:44 -07:00
JacobBarthelmeh 77e91c1f46
Merge pull request #79 from cconlon/uintptr
use uintptr_t instead of intptr_t in com_wolfssl_WolfSSL.c
2021-12-22 09:19:06 -07:00
Chris Conlon 7ec66590a1 add option to do one session resumption to ClientJSSE.java example 2021-12-21 13:58:23 -07:00
Chris Conlon c0809ed98e use uintptr_t instead of intptr_t in com_wolfssl_WolfSSL.c 2021-12-03 14:47:30 -07:00
Chris Conlon 7010f9ddad synchronize class free() calls that access native cleanup functions 2021-11-19 15:00:35 -07:00
JacobBarthelmeh ddc84288e2
Merge pull request #77 from cconlon/providerExample
clean up JSSE ProviderTest example, register wolfJSSE
2021-11-19 12:11:06 -08:00
Chris Conlon 5e484d704a clean up JSSE ProviderTest example, register wolfJSSE 2021-11-19 12:00:35 -07:00
Chris Conlon bb47e82ccc SSLSocket.getSession() is expected to do handshake if not completed yet 2021-11-18 13:54:01 -07:00
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