未验证 提交 98b687f8 编写于 作者: P Paul Yang

Fix test error if scrypt is disabled

Fix no-scrypt.
Reviewed-by: NMatt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/9840)
上级 7f0a8dc7
......@@ -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;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册