From 7026f0cd2d0127f7749c13b2edc2ffb60ab2e87d Mon Sep 17 00:00:00 2001 From: Joakim Antman Date: Thu, 29 Dec 2022 17:42:09 +0200 Subject: [PATCH] A little finetuning of the documentation part --- ext/openssl/ossl_pkey.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ext/openssl/ossl_pkey.c b/ext/openssl/ossl_pkey.c index c6b6635cc..ba8c507d3 100644 --- a/ext/openssl/ossl_pkey.c +++ b/ext/openssl/ossl_pkey.c @@ -599,7 +599,7 @@ pkey_from_parameters(int argc, VALUE *argv, VALUE self) * * Generates new parameters for the algorithm. _algo_name_ is a String that * represents the algorithm. The optional argument _options_ is a Hash that - * specifies the options specific to the algorithm. The orderq of the options + * specifies the options specific to the algorithm. The order of the options * can be important. * * A block can be passed optionally. The meaning of the arguments passed to @@ -650,6 +650,7 @@ ossl_pkey_s_generate_key(int argc, VALUE *argv, VALUE self) * OpenSSL::PKey.from_parameters(algo_name, parameters) -> pkey * * Generates a new key based on given key parameters. + * NOTE: Will only work on OpenSSL 3.0 or later. * * The first parameter is the type of the key to create, given as a String, for example RSA, DSA, EC etc. * Second parameter is the parameters to be used for the key.