forked from wolfSSL/wolfssl
fix pkcs7 warning
This commit is contained in:
@ -1016,7 +1016,7 @@ WOLFSSL_LOCAL int wc_CreateRecipientInfo(const byte* cert, word32 certSz,
|
|||||||
issuerSz = decoded->issuerRawLen;
|
issuerSz = decoded->issuerRawLen;
|
||||||
issuerSeqSz = SetSequence(issuerSz, issuerSeq);
|
issuerSeqSz = SetSequence(issuerSz, issuerSeq);
|
||||||
|
|
||||||
if (decoded->serial == NULL || decoded->serialSz == 0) {
|
if (decoded->serialSz == 0) {
|
||||||
WOLFSSL_MSG("DecodedCert missing serial number");
|
WOLFSSL_MSG("DecodedCert missing serial number");
|
||||||
FreeDecodedCert(decoded);
|
FreeDecodedCert(decoded);
|
||||||
#ifdef WOLFSSL_SMALL_STACK
|
#ifdef WOLFSSL_SMALL_STACK
|
||||||
|
Reference in New Issue
Block a user