Commit 4c0aee5a authored by Geoff Thorpe's avatar Geoff Thorpe
Browse files

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.
parent 8c343cf8
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -39,7 +39,7 @@ This command is used to test the performance of cryptographic algorithms.


=head1 OPTIONS
=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.
the above are tested.


=cut
=cut
+2 −5
Original line number Original line Diff line number Diff line
@@ -36,9 +36,6 @@ method.


DH_set_method() selects B<meth> for all operations using the structure B<dh>.
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
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>,
B<method> will be used for the DH operations. If B<method> is B<NULL>,
the default method is used.
the default method is used.
@@ -75,8 +72,8 @@ the default method is used.


=head1 RETURN VALUES
=head1 RETURN VALUES


DH_OpenSSL(), DH_get_default_method() and DH_get_method() return
DH_OpenSSL() and DH_get_default_method() return pointers to the respective
pointers to the respective B<DH_METHOD>s.
B<DH_METHOD>s.


DH_set_default_method() returns no value.
DH_set_default_method() returns no value.


+5 −8
Original line number Original line Diff line number Diff line
@@ -3,11 +3,11 @@
=head1 NAME
=head1 NAME


DSA_set_default_method, DSA_get_default_method, DSA_set_method,
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
=head1 SYNOPSIS


 #include <openssl/DSA.h>
 #include <openssl/dsa.h>


 void DSA_set_default_method(DSA_METHOD *meth);
 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
DSA_get_default_method() returns a pointer to the current default
method.
method.


DSA_set_method() selects B<meth> for all operations using the structure B<DSA>.
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_new_method() allocates and initializes a B<DSA> structure so that
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>,
B<method> will be used for the DSA operations. If B<method> is B<NULL>,
@@ -87,8 +84,8 @@ struct


=head1 RETURN VALUES
=head1 RETURN VALUES


DSA_OpenSSL(), DSA_get_default_method() and DSA_get_method() return
DSA_OpenSSL() and DSA_get_default_method() return pointers to the
pointers to the respective B<DSA_METHOD>s.
respective B<DSA_METHOD>s.


DSA_set_default_method() returns no value.
DSA_set_default_method() returns no value.