Skip to content

Commit

Permalink
still compile in wc_RsaKeyToDer with keygen but NO_CERTS
Browse files Browse the repository at this point in the history
  • Loading branch information
JacobBarthelmeh committed May 30, 2024
1 parent cf61df1 commit 34ca037
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions wolfcrypt/src/asn.c
Original file line number Diff line number Diff line change
Expand Up @@ -26112,6 +26112,7 @@ int wc_RsaKeyToPublicDer_ex(RsaKey* key, byte* output, word32 inLen,

#endif /* !NO_RSA && (WOLFSSL_CERT_GEN || WOLFSSL_KCAPI_RSA ||
((OPENSSL_EXTRA || WOLFSSL_KEY_GEN))) */
#endif /* NO_CERTS */

#if (defined(WOLFSSL_KEY_GEN) || defined(OPENSSL_EXTRA) || \
defined(WOLFSSL_KCAPI_RSA) || defined(WOLFSSL_SE050)) && \
Expand Down Expand Up @@ -26282,6 +26283,7 @@ int wc_RsaKeyToDer(RsaKey* key, byte* output, word32 inLen)

#endif /* (WOLFSSL_KEY_GEN || OPENSSL_EXTRA) && !NO_RSA */

#ifndef NO_CERTS

#ifdef WOLFSSL_CERT_GEN

Expand Down

0 comments on commit 34ca037

Please sign in to comment.