Fixes possible compile error if NO_PKCS7_STREAM is defined.

pull/2773/head
Stanislav Klima 2020-02-12 13:46:12 +01:00
parent 1a38c26097
commit 1b13178182
1 changed files with 2 additions and 0 deletions

View File

@ -11419,7 +11419,9 @@ authenv_atrbend:
XFREE(decryptedKey, pkcs7->heap, DYNAMIC_TYPE_PKCS7);
decryptedKey = NULL;
#ifdef WOLFSSL_SMALL_STACK
#ifndef NO_PKCS7_STREAM
pkcs7->stream->key = NULL;
#endif
#endif
#endif
ret = encryptedContentSz;