mirror of
https://github.com/openssl/openssl.git
synced 2025-04-12 20:30:52 +08:00
doc: remove duplicated code in example
Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/13048)
This commit is contained in:
parent
856198aac7
commit
69340cafb4
@ -166,10 +166,6 @@ An B<EVP_PKEY> EC CDH (Cofactor Diffie-Hellman) key can be generated with a
|
||||
EVP_PKEY_CTX *gctx =
|
||||
EVP_PKEY_CTX_new_from_name(NULL, "EC", NULL);
|
||||
|
||||
EVP_PKEY *key = NULL;
|
||||
OSSL_PARAM params[3];
|
||||
EVP_PKEY_CTX *gctx = EVP_PKEY_CTX_new_from_name(NULL, "EC", NULL);
|
||||
|
||||
EVP_PKEY_keygen_init(gctx);
|
||||
|
||||
params[0] = OSSL_PARAM_construct_utf8_string(OSSL_PKEY_PARAM_GROUP_NAME,
|
||||
|
Loading…
x
Reference in New Issue
Block a user