summaryrefslogtreecommitdiffstats
path: root/test/evp_test.c
diff options
context:
space:
mode:
authorPaul Yang <kaishen.yy@antfin.com>2019-09-12 10:57:23 +0200
committerPaul Yang <kaishen.yy@antfin.com>2019-09-12 11:07:00 +0200
commit98b687f8d053662f8d7fee586d5a91d86fecdfee (patch)
treecab02f6953daee9cb5cacee3ff148e9dea2edb13 /test/evp_test.c
parentcrypto/threads_win.c: fix preprocessor indentation (diff)
downloadopenssl-98b687f8d053662f8d7fee586d5a91d86fecdfee.tar.xz
openssl-98b687f8d053662f8d7fee586d5a91d86fecdfee.zip
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;
}