summaryrefslogtreecommitdiffstats
path: root/test/evp_test.c
diff options
context:
space:
mode:
authorPaul Yang <kaishen.yy@antfin.com>2019-09-12 16:57:23 +0800
committerPaul Yang <kaishen.yy@antfin.com>2019-09-12 17:07:00 +0800
commit98b687f8d053662f8d7fee586d5a91d86fecdfee (patch)
treecab02f6953daee9cb5cacee3ff148e9dea2edb13 /test/evp_test.c
parent7f0a8dc7f9c5c35af0f66aca553304737931d55f (diff)
Fix test error if scrypt is disabled
Fix no-scrypt. Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/9840)
Diffstat (limited to 'test/evp_test.c')
-rw-r--r--test/evp_test.c3
1 files changed, 2 insertions, 1 deletions
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;
}