forked from wolfSSL/wolfssl
get crypto only compiled with openssl extra
This commit is contained in:
@ -1612,7 +1612,7 @@ int wolfSSL_EVP_PKEY_derive(WOLFSSL_EVP_PKEY_CTX *ctx, unsigned char *key, size_
|
||||
*keylen = (size_t)len;
|
||||
break;
|
||||
#endif
|
||||
#ifdef HAVE_ECC
|
||||
#if defined(HAVE_ECC) && !defined(WOLF_CRYPTO_CB_ONLY_ECC)
|
||||
case EVP_PKEY_EC:
|
||||
/* Use ECDH */
|
||||
if (!ctx->pkey->ecc || !ctx->peerKey->ecc) {
|
||||
|
@ -1238,11 +1238,12 @@ options: [-s max_relative_stack_bytes] [-m max_relative_heap_memory_bytes]\n\
|
||||
else
|
||||
TEST_PASS("OPENSSL (PKEY1) passed!\n");
|
||||
|
||||
#if !defined(WOLF_CRYPTO_CB_ONLY_RSA) && !defined(WOLF_CRYPTO_CB_ONLY_ECC)
|
||||
if ( (ret = openssl_evpSig_test()) != 0)
|
||||
return err_sys("OPENSSL (EVP Sign/Verify) test failed!\n", ret);
|
||||
else
|
||||
TEST_PASS("OPENSSL (EVP Sign/Verify) passed!\n");
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if defined(HAVE_ECC)
|
||||
|
Reference in New Issue
Block a user