fix pkcs7 warning

This commit is contained in:
toddouska 2015-04-10 10:37:25 -07:00
parent c1adae2fe4
commit d40fbd58f4
1 changed files with 1 additions and 1 deletions

View File

@ -1016,7 +1016,7 @@ WOLFSSL_LOCAL int wc_CreateRecipientInfo(const byte* cert, word32 certSz,
issuerSz = decoded->issuerRawLen;
issuerSeqSz = SetSequence(issuerSz, issuerSeq);
if (decoded->serial == NULL || decoded->serialSz == 0) {
if (decoded->serialSz == 0) {
WOLFSSL_MSG("DecodedCert missing serial number");
FreeDecodedCert(decoded);
#ifdef WOLFSSL_SMALL_STACK