Update document for SM2 stuffs
[openssl.git] / doc / man7 / scrypt.pod
index aabb6c9b81ba5fb68612f17ae9391c6440159020..94ff3ab53fce79dcadc9c7a455cf62cdd4006a39 100644 (file)
@@ -33,7 +33,7 @@ may be used by scrypt defaults to 1025 MiB.
 
 A context for scrypt can be obtained by calling:
 
- EVP_PKEY_CTX *pctx = EVP_PKEY_new_id(EVP_PKEY_SCRYPT, NULL);
+ EVP_PKEY_CTX *pctx = EVP_PKEY_CTX_new_id(EVP_PKEY_SCRYPT, NULL);
 
 The output length of an scrypt key derivation is specified via the
 length parameter to the L<EVP_PKEY_derive(3)> function.