Fix small typo in EVP_KEYEXCH-ECDH.html doc example
authorEasySec <easy.sec@free.fr>
Mon, 7 Feb 2022 22:16:39 +0000 (23:16 +0100)
committerPauli <pauli@openssl.org>
Wed, 9 Feb 2022 09:07:22 +0000 (20:07 +1100)
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/17657)

doc/man7/EVP_KEYEXCH-ECDH.pod

index a710625f223133da1d8d1a9a4b09b7f67fcc9a0b..69d0d87b3537d17a29d06e4a8d5984bd860d42ec 100644 (file)
@@ -88,7 +88,7 @@ key but also using X963KDF with a user key material:
         size_t secret_len = out_len;
         unsigned int pad = 1;
         OSSL_PARAM params[6];
-        EVP_PKET_CTX *dctx = EVP_PKEY_CTX_new_from_pkey(NULL, host_key, NULL);
+        EVP_PKEY_CTX *dctx = EVP_PKEY_CTX_new_from_pkey(NULL, host_key, NULL);
 
         EVP_PKEY_derive_init(dctx);