From 98b687f8d053662f8d7fee586d5a91d86fecdfee Mon Sep 17 00:00:00 2001 From: Paul Yang Date: Thu, 12 Sep 2019 16:57:23 +0800 Subject: [PATCH] Fix test error if scrypt is disabled Fix no-scrypt. Reviewed-by: Matt Caswell (Merged from https://github.com/openssl/openssl/pull/9840) --- test/evp_test.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/evp_test.c b/test/evp_test.c index 67a818d98d..69ccb9739e 100644 --- a/test/evp_test.c +++ b/test/evp_test.c @@ -1989,7 +1989,8 @@ static int kdf_test_init(EVP_TEST *t, const char *name) EVP_KDF *kdf; #ifdef OPENSSL_NO_SCRYPT - if (strcmp(name, "scrypt") == 0) { + /* TODO(3.0) Replace with "scrypt" once aliases are supported */ + if (strcmp(name, "id-scrypt") == 0) { t->skip = 1; return 1; } -- 2.25.1