Skip to content

Commit 59452c3

Browse files
committed
Drop C89-only DTLS drop count change
1 parent 1906b96 commit 59452c3

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

native/com_wolfssl_WolfSSLSession.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2761,11 +2761,11 @@ JNIEXPORT jint JNICALL Java_com_wolfssl_WolfSSLSession_sendHrrCookie
27612761
JNIEXPORT jlong JNICALL Java_com_wolfssl_WolfSSLSession_getDtlsMacDropCount
27622762
(JNIEnv* jenv, jobject jcl, jlong sslPtr)
27632763
{
2764-
word32 dropCount = 0;
2765-
27662764
(void)jenv;
27672765
(void)jcl;
27682766
(void)sslPtr;
2767+
2768+
word32 dropCount = 0;
27692769
#if defined(WOLFSSL_DTLS) && defined(WOLFSSL_DTLS_DROP_STATS)
27702770
int ret = 0;
27712771
WOLFSSL* ssl = (WOLFSSL*)(uintptr_t)sslPtr;
@@ -2782,11 +2782,11 @@ JNIEXPORT jlong JNICALL Java_com_wolfssl_WolfSSLSession_getDtlsMacDropCount
27822782
JNIEXPORT jlong JNICALL Java_com_wolfssl_WolfSSLSession_getDtlsReplayDropCount
27832783
(JNIEnv* jenv, jobject jcl, jlong sslPtr)
27842784
{
2785-
word32 dropCount = 0;
2786-
27872785
(void)jenv;
27882786
(void)jcl;
27892787
(void)sslPtr;
2788+
2789+
word32 dropCount = 0;
27902790
#if defined(WOLFSSL_DTLS) && defined(WOLFSSL_DTLS_DROP_STATS)
27912791
int ret = 0;
27922792
WOLFSSL* ssl = (WOLFSSL*)(uintptr_t)sslPtr;

0 commit comments

Comments
 (0)