summaryrefslogtreecommitdiff
path: root/ext/openssl/ossl_kdf.c
diff options
context:
space:
mode:
authorKazuki Yamaguchi <[email protected]>2023-06-29 20:26:06 +0900
committerKazuki Yamaguchi <[email protected]>2023-08-16 14:48:40 +0900
commit4541cd4cbae66900f8407ea8d2ec899634cd255d (patch)
treef0394feb2fa2aa382c1c2845a5bcf1df63f41386 /ext/openssl/ossl_kdf.c
parent4465941e68e076d3198a071600f1047b7a382e0b (diff)
[ruby/openssl] [DOC] prefer "password" to "passphrase"
Let's consistently use the word "password". Although they are considered synonymous, the mixed usage in the rdoc can cause confusion. OpenSSL::KDF.scrypt is an exception. This is because RFC 7914 refers to the input parameter as "passphrase". https://github.com/ruby/openssl/commit/06d67640e9
Diffstat (limited to 'ext/openssl/ossl_kdf.c')
-rw-r--r--ext/openssl/ossl_kdf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/openssl/ossl_kdf.c b/ext/openssl/ossl_kdf.c
index 0d25a7304b..48b161d4f4 100644
--- a/ext/openssl/ossl_kdf.c
+++ b/ext/openssl/ossl_kdf.c
@@ -21,7 +21,7 @@ static VALUE mKDF, eKDF;
* (https://tools.ietf.org/html/rfc2898#section-5.2).
*
* === Parameters
- * pass :: The passphrase.
+ * pass :: The password.
* salt :: The salt. Salts prevent attacks based on dictionaries of common
* passwords and attacks based on rainbow tables. It is a public
* value that can be safely stored along with the password (e.g.