Fix no-ec

Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/3321)
This commit is contained in:
Dr. Stephen Henson 2017-04-26 17:08:22 +01:00
parent 8e1634ec36
commit aa24cd1bfb

View file

@ -196,7 +196,9 @@ typedef struct APK_DATA_st {
static APK_DATA keydata[] = {
{kExampleRSAKeyDER, sizeof(kExampleRSAKeyDER), EVP_PKEY_RSA},
{kExampleRSAKeyPKCS8, sizeof(kExampleRSAKeyPKCS8), EVP_PKEY_RSA},
#ifndef OPENSSL_NO_EC
{kExampleECKeyDER, sizeof(kExampleECKeyDER), EVP_PKEY_EC}
#endif
};
static EVP_PKEY *load_example_rsa_key(void)