From: dannyward630 Date: Thu, 18 Jun 2026 17:30:54 +0000 (+0200) Subject: doc/man7/EVP_KDF-SNMPKDF.pod: fix password parameter documentation X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1111694d86d1beba85db84fdf54c04f8a8d136a0;p=thirdparty%2Fopenssl.git doc/man7/EVP_KDF-SNMPKDF.pod: fix password parameter documentation Document the SNMPKDF "pass" parameter with OSSL_KDF_PARAM_PASSWORD, matching the implementation and other KDF documentation. Also, fix the nearby grammar. Resolves: https://github.com/openssl/openssl/issues/31543 Fixes: 1b035166bdb2 "Add SNMPKDF implementation" CLA: trivial Reviewed-by: Shane Lontis Reviewed-by: Paul Dale Reviewed-by: Eugene Syromiatnikov Reviewed-by: Norbert Pocs MergeDate: Fri Jun 26 16:29:54 2026 (Merged from https://github.com/openssl/openssl/pull/31592) --- diff --git a/doc/man7/EVP_KDF-SNMPKDF.pod b/doc/man7/EVP_KDF-SNMPKDF.pod index c0bcb70deeb..9a2973722b4 100644 --- a/doc/man7/EVP_KDF-SNMPKDF.pod +++ b/doc/man7/EVP_KDF-SNMPKDF.pod @@ -29,9 +29,9 @@ The supported parameters are: =item "digest" (B) -=item "pass" (B) +=item "pass" (B) -These parameters works as described in L. +These parameters work as described in L. =item "eid" (B) @@ -70,7 +70,7 @@ This example derives an 8 byte IV using SHA1 with a 1K "key" and appropriate *p++ = OSSL_PARAM_construct_utf8_string(OSSL_KDF_PARAM_DIGEST, SN_sha1, strlen(SN_sha1)); - *p++ = OSSL_PARAM_construct_octet_string(OSSL_KDF_PARAM_PASS, + *p++ = OSSL_PARAM_construct_octet_string(OSSL_KDF_PARAM_PASSWORD, pass, sizeof(pass)); *p++ = OSSL_PARAM_construct_octet_string(OSSL_KDF_PARAM_SNMPKDF_EID, eid, sizeof(eid)); @@ -100,7 +100,7 @@ This functionality was added in OpenSSL 4.0. =head1 COPYRIGHT -Copyright 2025 The OpenSSL Project Authors. All Rights Reserved. +Copyright 2025-2026 The OpenSSL Project Authors. All Rights Reserved. Licensed under the Apache License 2.0 (the "License"). You may not use this file except in compliance with the License. You can obtain a copy