remove pkcs7 requirement of x963kdf when ecc is disabled
This commit is contained in:
parent
465f1d491f
commit
467608b6c9
@ -3957,7 +3957,7 @@ then
|
||||
ENABLED_AESKEYWRAP="yes"
|
||||
AM_CFLAGS="$AM_CFLAGS -DHAVE_AES_KEYWRAP -DWOLFSSL_AES_DIRECT"
|
||||
fi
|
||||
if test "x$ENABLED_X963KDF" = "xno"
|
||||
if test "x$ENABLED_X963KDF" = "xno" && test "$ENABLED_ECC" = "yes"
|
||||
then
|
||||
ENABLED_X963KDF="yes"
|
||||
AM_CFLAGS="$AM_CFLAGS -DHAVE_X963_KDF"
|
||||
|
@ -1564,7 +1564,7 @@ extern void uITRON4_free(void *p) ;
|
||||
#ifndef HAVE_AES_KEYWRAP
|
||||
#error PKCS7 requires AES key wrap please define HAVE_AES_KEYWRAP
|
||||
#endif
|
||||
#ifndef HAVE_X963_KDF
|
||||
#if defined(HAVE_ECC) && !defined(HAVE_X963_KDF)
|
||||
#error PKCS7 requires X963 KDF please define HAVE_X963_KDF
|
||||
#endif
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user