Skip to content

Commit

Permalink
JNI/JSSE: remove incorrect preprocessor gate around native wolfSSL_Ge…
Browse files Browse the repository at this point in the history
…tSide()
  • Loading branch information
cconlon committed Jan 20, 2025
1 parent 50d8b5c commit ae8c65e
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions native/com_wolfssl_WolfSSLSession.c
Original file line number Diff line number Diff line change
Expand Up @@ -3845,12 +3845,8 @@ JNIEXPORT jint JNICALL Java_com_wolfssl_WolfSSLSession_getSide
(void)jenv;
(void)jcl;

#ifdef ATOMIC_USER
/* wolfSSL checks ssl for NULL */
return wolfSSL_GetSide((WOLFSSL*)(uintptr_t)ssl);
#else
return NOT_COMPILED_IN;
#endif
}

JNIEXPORT jint JNICALL Java_com_wolfssl_WolfSSLSession_isTLSv1_11
Expand Down

0 comments on commit ae8c65e

Please sign in to comment.