We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 106e39b commit 803b17aCopy full SHA for 803b17a
1 file changed
src/ssl_crypto.c
@@ -2106,7 +2106,9 @@ void wolfSSL_CMAC_CTX_free(WOLFSSL_CMAC_CTX *ctx)
2106
if (ctx != NULL) {
2107
/* Deallocate dynamically allocated fields. */
2108
if (ctx->internal != NULL) {
2109
+#if (!defined(HAVE_FIPS) || FIPS_VERSION_GE(5, 3)) && !defined(HAVE_SELFTEST)
2110
wc_CmacFree((Cmac*)ctx->internal);
2111
+#endif
2112
XFREE(ctx->internal, NULL, DYNAMIC_TYPE_CMAC);
2113
}
2114
if (ctx->cctx != NULL) {
0 commit comments