Skip to content

Commit 883d1a2

Browse files
committed
add WOLFSSL_ALWAYS_VERIFY_CB to --enable-jni, used with JSSE X509ExtendedTrustManager hostname verification
1 parent abab390 commit 883d1a2

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

configure.ac

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6105,7 +6105,10 @@ AC_ARG_ENABLE([jni],
61056105
)
61066106
if test "$ENABLED_JNI" = "yes"
61076107
then
6108-
AM_CFLAGS="$AM_CFLAGS -DWOLFSSL_JNI -DHAVE_EX_DATA -DKEEP_PEER_CERT"
6108+
AM_CFLAGS="$AM_CFLAGS -DWOLFSSL_JNI"
6109+
AM_CFLAGS="$AM_CFLAGS -DHAVE_EX_DATA"
6110+
AM_CFLAGS="$AM_CFLAGS -DKEEP_PEER_CERT"
6111+
AM_CFLAGS="$AM_CFLAGS -DWOLFSSL_ALWAYS_VERIFY_CB"
61096112

61106113
# Enable prereqs if not already enabled
61116114
if test "x$ENABLED_DTLS" = "xno"

0 commit comments

Comments
 (0)