diff options
author | Pauli <paul.dale@oracle.com> | 2020-09-30 20:01:02 +1000 |
---|---|---|
committer | Pauli <paul.dale@oracle.com> | 2020-10-06 09:01:34 +1000 |
commit | 69340cafb4a894c469a392ce517b2e092758f1c4 (patch) | |
tree | 15bda8acf3426b2912526644acc9c8c75f392725 /doc/man7/EVP_PKEY-EC.pod | |
parent | 856198aac784fc78b4588d2b409cec9f4ecf812d (diff) |
doc: remove duplicated code in example
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/13048)
Diffstat (limited to 'doc/man7/EVP_PKEY-EC.pod')
-rw-r--r-- | doc/man7/EVP_PKEY-EC.pod | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/doc/man7/EVP_PKEY-EC.pod b/doc/man7/EVP_PKEY-EC.pod index e423a52971..9b195810d0 100644 --- a/doc/man7/EVP_PKEY-EC.pod +++ b/doc/man7/EVP_PKEY-EC.pod @@ -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, |