Skip to content

Commit 7026f0c

Browse files
committed
A little finetuning of the documentation part
1 parent 5952a6a commit 7026f0c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ext/openssl/ossl_pkey.c

+2-1
Original file line numberDiff line numberDiff line change
@@ -599,7 +599,7 @@ pkey_from_parameters(int argc, VALUE *argv, VALUE self)
599599
*
600600
* Generates new parameters for the algorithm. _algo_name_ is a String that
601601
* represents the algorithm. The optional argument _options_ is a Hash that
602-
* specifies the options specific to the algorithm. The orderq of the options
602+
* specifies the options specific to the algorithm. The order of the options
603603
* can be important.
604604
*
605605
* 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)
650650
* OpenSSL::PKey.from_parameters(algo_name, parameters) -> pkey
651651
*
652652
* Generates a new key based on given key parameters.
653+
* NOTE: Will only work on OpenSSL 3.0 or later.
653654
*
654655
* The first parameter is the type of the key to create, given as a String, for example RSA, DSA, EC etc.
655656
* Second parameter is the parameters to be used for the key.

0 commit comments

Comments
 (0)