Commit 721f3980 authored by Dr. Stephen Henson's avatar Dr. Stephen Henson
Browse files

Update documentation for DSA_SIG and ECDSA_SIG.



RT#4590

Reviewed-by: default avatarRich Salz <rsalz@openssl.org>
parent d40a13af
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -16,7 +16,7 @@ DSA_SIG_new, DSA_SIG_free - allocate and free DSA signature objects

=head1 DESCRIPTION

DSA_SIG_new() allocates and initializes a B<DSA_SIG> structure.
DSA_SIG_new() allocates an empty B<DSA_SIG> structure.

DSA_SIG_free() frees the B<DSA_SIG> structure and its components. The
values are erased before the memory is returned to the system.
+2 −2
Original line number Diff line number Diff line
@@ -47,8 +47,8 @@ L<EVP_DigestSignInit(3)> or L<EVP_DigestVerifyInit(3)> instead.
B<ECDSA_SIG> is an opaque structure consisting of two BIGNUMs for the
B<r> and B<s> value of an ECDSA signature (see X9.62 or FIPS 186-2).

ECDSA_SIG_new() allocates a new B<ECDSA_SIG> structure (note: this
function also allocates the BIGNUMs) and initializes it.
ECDSA_SIG_new() allocates an empty B<ECDSA_SIG> structure. Note: before
OpenSSL 1.1.0 the: the B<r> and B<s> components were initialised.

ECDSA_SIG_free() frees the B<ECDSA_SIG> structure B<sig>.