Skip to content

Commit

Permalink
A little finetuning of the documentation part
Browse files Browse the repository at this point in the history
  • Loading branch information
anakinj committed Dec 29, 2022
1 parent 5952a6a commit 7026f0c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ext/openssl/ossl_pkey.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit 7026f0c

Please sign in to comment.