Skip to content

Commit 59290cd

Browse files
committed
src/quic.c: fix -Wunused-function for evp_cipher_eq().
1 parent 963e14a commit 59290cd

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/quic.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1013,7 +1013,8 @@ const WOLFSSL_EVP_CIPHER* wolfSSL_quic_get_aead(WOLFSSL* ssl)
10131013
return evp_cipher;
10141014
}
10151015

1016-
static int evp_cipher_eq(const WOLFSSL_EVP_CIPHER* c1,
1016+
/* currently only used if HAVE_CHACHA && HAVE_POLY1305. */
1017+
WC_MAYBE_UNUSED static int evp_cipher_eq(const WOLFSSL_EVP_CIPHER* c1,
10171018
const WOLFSSL_EVP_CIPHER* c2)
10181019
{
10191020
/* We could check on nid equality, but we seem to have singulars */

0 commit comments

Comments
 (0)