Fix no-ec

Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/6437)
This commit is contained in:
Matt Caswell 2018-06-08 11:20:34 +01:00
parent c8a56217f9
commit 896dcb8065

View File

@ -488,7 +488,9 @@ static struct keys_st {
EVP_PKEY_POLY1305, "01234567890123456789012345678901", NULL EVP_PKEY_POLY1305, "01234567890123456789012345678901", NULL
}, { }, {
EVP_PKEY_SIPHASH, "0123456789012345", NULL EVP_PKEY_SIPHASH, "0123456789012345", NULL
}, { },
#ifndef OPENSSL_NO_EC
{
EVP_PKEY_X25519, "01234567890123456789012345678901", EVP_PKEY_X25519, "01234567890123456789012345678901",
"abcdefghijklmnopqrstuvwxyzabcdef" "abcdefghijklmnopqrstuvwxyzabcdef"
}, { }, {
@ -503,6 +505,7 @@ static struct keys_st {
"012345678901234567890123456789012345678901234567890123456", "012345678901234567890123456789012345678901234567890123456",
"abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcde" "abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcde"
} }
#endif
}; };
static int test_set_get_raw_keys_int(int tst, int pub) static int test_set_get_raw_keys_int(int tst, int pub)