Skip to content

Commit cd8c49e

Browse files
committed
JNI/JSSE: remove incorrect preprocessor gate around native wolfSSL_GetSide()
1 parent 336af4d commit cd8c49e

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

native/com_wolfssl_WolfSSLSession.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3845,12 +3845,8 @@ JNIEXPORT jint JNICALL Java_com_wolfssl_WolfSSLSession_getSide
38453845
(void)jenv;
38463846
(void)jcl;
38473847

3848-
#ifdef ATOMIC_USER
38493848
/* wolfSSL checks ssl for NULL */
38503849
return wolfSSL_GetSide((WOLFSSL*)(uintptr_t)ssl);
3851-
#else
3852-
return NOT_COMPILED_IN;
3853-
#endif
38543850
}
38553851

38563852
JNIEXPORT jint JNICALL Java_com_wolfssl_WolfSSLSession_isTLSv1_11

0 commit comments

Comments
 (0)