From 4c0aee5a75e76ba86dd987910dbc0d33441a577e Mon Sep 17 00:00:00 2001 From: Geoff Thorpe <geoff@openssl.org> Date: Mon, 29 May 2000 15:52:21 +0000 Subject: [PATCH] Minor corrections to documentation. * speed processes any/all options passed to it, not just one. * DH and DSA have no "_get_method()" functions, only RSA does. * typos. --- doc/apps/speed.pod | 2 +- doc/crypto/DH_set_method.pod | 7 ++----- doc/crypto/DSA_set_method.pod | 13 +++++-------- 3 files changed, 8 insertions(+), 14 deletions(-) diff --git a/doc/apps/speed.pod b/doc/apps/speed.pod index fecd9a994d..77560f1c3d 100644 --- a/doc/apps/speed.pod +++ b/doc/apps/speed.pod @@ -39,7 +39,7 @@ This command is used to test the performance of cryptographic algorithms. =head1 OPTIONS -If an option is given, B<speed> test that algorithm, otherwise all of +If any options are given, B<speed> tests those algorithms, otherwise all of the above are tested. =cut diff --git a/doc/crypto/DH_set_method.pod b/doc/crypto/DH_set_method.pod index a8f75bdd9d..b9a61d542b 100644 --- a/doc/crypto/DH_set_method.pod +++ b/doc/crypto/DH_set_method.pod @@ -36,9 +36,6 @@ method. DH_set_method() selects B<meth> for all operations using the structure B<dh>. -DH_get_method() returns a pointer to the method currently selected -for B<dh>. - DH_new_method() allocates and initializes a B<DH> structure so that B<method> will be used for the DH operations. If B<method> is B<NULL>, the default method is used. @@ -75,8 +72,8 @@ the default method is used. =head1 RETURN VALUES -DH_OpenSSL(), DH_get_default_method() and DH_get_method() return -pointers to the respective B<DH_METHOD>s. +DH_OpenSSL() and DH_get_default_method() return pointers to the respective +B<DH_METHOD>s. DH_set_default_method() returns no value. diff --git a/doc/crypto/DSA_set_method.pod b/doc/crypto/DSA_set_method.pod index edec46413d..cabc3c004a 100644 --- a/doc/crypto/DSA_set_method.pod +++ b/doc/crypto/DSA_set_method.pod @@ -3,11 +3,11 @@ =head1 NAME DSA_set_default_method, DSA_get_default_method, DSA_set_method, -DSA_new_method, DSA_OpenSSL - select RSA method +DSA_new_method, DSA_OpenSSL - select DSA method =head1 SYNOPSIS - #include <openssl/DSA.h> + #include <openssl/dsa.h> void DSA_set_default_method(DSA_METHOD *meth); @@ -34,10 +34,7 @@ structures created later. DSA_get_default_method() returns a pointer to the current default method. -DSA_set_method() selects B<meth> for all operations using the structure B<DSA>. - -DSA_get_method() returns a pointer to the method currently selected -for B<DSA>. +DSA_set_method() selects B<meth> for all operations using the structure B<dsa>. DSA_new_method() allocates and initializes a B<DSA> structure so that B<method> will be used for the DSA operations. If B<method> is B<NULL>, @@ -87,8 +84,8 @@ struct =head1 RETURN VALUES -DSA_OpenSSL(), DSA_get_default_method() and DSA_get_method() return -pointers to the respective B<DSA_METHOD>s. +DSA_OpenSSL() and DSA_get_default_method() return pointers to the +respective B<DSA_METHOD>s. DSA_set_default_method() returns no value. -- 2.25.1