@@ -23217,9 +23217,7 @@ static int CheckCertSignature_ex(const byte* cert, word32 certSz, void* heap,
2321723217#endif /* WOLFSSL_ASN_TEMPLATE */
2321823218}
2321923219
23220- #ifdef OPENSSL_EXTRA
23221- /* Call CheckCertSignature_ex using a public key buffer for verification
23222- */
23220+ /* Call CheckCertSignature_ex using a public key buffer for verification */
2322323221int CheckCertSignaturePubKey(const byte* cert, word32 certSz, void* heap,
2322423222 const byte* pubKey, word32 pubKeySz, int pubKeyOID)
2322523223{
@@ -23242,15 +23240,13 @@ int CheckCSRSignaturePubKey(const byte* cert, word32 certSz, void* heap,
2324223240 pubKey, pubKeySz, pubKeyOID, 1);
2324323241}
2324423242#endif /* WOLFSSL_CERT_REQ */
23245- #endif /* OPENSSL_EXTRA */
23246- #ifdef WOLFSSL_SMALL_CERT_VERIFY
23243+
2324723244/* Call CheckCertSignature_ex using a certificate manager (cm)
2324823245 */
2324923246int CheckCertSignature(const byte* cert, word32 certSz, void* heap, void* cm)
2325023247{
2325123248 return CheckCertSignature_ex(cert, certSz, heap, cm, NULL, 0, 0, 0);
2325223249}
23253- #endif /* WOLFSSL_SMALL_CERT_VERIFY */
2325423250#endif /* WOLFSSL_SMALL_CERT_VERIFY || OPENSSL_EXTRA */
2325523251
2325623252#if (defined(HAVE_ED25519) && defined(HAVE_ED25519_KEY_IMPORT) || \
0 commit comments