summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2020-07-31 15:05:57 +0100
committerMatt Caswell <matt@openssl.org>2020-08-10 14:51:59 +0100
commit194de849ccb269272b71994edf988dc1cdbafc0d (patch)
tree2b976cdf01bbabcafaeea67206113f5fb0b0b279 /test
parent05d2f72e79cdb1736681726dcd9a325491acf002 (diff)
Extend the EVP_PKEY KDF to KDF provider bridge to also support Scrypt
Reviewed-by: Paul Dale <paul.dale@oracle.com> (Merged from https://github.com/openssl/openssl/pull/12573)
Diffstat (limited to 'test')
-rw-r--r--test/pkey_meth_kdf_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/pkey_meth_kdf_test.c b/test/pkey_meth_kdf_test.c
index 9fdec0a470..1d3e9eca3c 100644
--- a/test/pkey_meth_kdf_test.c
+++ b/test/pkey_meth_kdf_test.c
@@ -138,7 +138,7 @@ static int test_kdf_scrypt(void)
TEST_error("EVP_PKEY_CTX_set1_pbe_pass");
goto err;
}
- if (EVP_PKEY_CTX_set1_scrypt_salt(pctx, "NaCl", 4) <= 0) {
+ if (EVP_PKEY_CTX_set1_scrypt_salt(pctx, (unsigned char *)"NaCl", 4) <= 0) {
TEST_error("EVP_PKEY_CTX_set1_scrypt_salt");
goto err;
}