mirror of https://github.com/wolfSSL/wolfssl.git
Encrypt key requirements check
The file wc_encrypt.c offers a function named wc_CryptKey(), which requires PWDBASED and ASN. Added the check for ASN.pull/2906/head
parent
e84cd1a887
commit
7cbf496329
|
@ -363,7 +363,7 @@ int wc_BufferKeyEncrypt(EncryptedInfo* info, byte* der, word32 derSz,
|
|||
#endif /* WOLFSSL_ENCRYPTED_KEYS */
|
||||
|
||||
|
||||
#ifndef NO_PWDBASED
|
||||
#if !defined(NO_PWDBASED) && !defined(NO_ASN)
|
||||
|
||||
#if defined(HAVE_PKCS8) || defined(HAVE_PKCS12)
|
||||
/* Decrypt/Encrypt input in place from parameters based on id
|
||||
|
|
Loading…
Reference in New Issue