159191Skris=pod 259191Skris 359191Skris=head1 NAME 459191Skris 559191SkrisDSA_SIG_new, DSA_SIG_free - allocate and free DSA signature objects 659191Skris 759191Skris=head1 SYNOPSIS 859191Skris 959191Skris #include <openssl/dsa.h> 1059191Skris 1159191Skris DSA_SIG *DSA_SIG_new(void); 1259191Skris 1359191Skris void DSA_SIG_free(DSA_SIG *a); 1459191Skris 1559191Skris=head1 DESCRIPTION 1659191Skris 1759191SkrisDSA_SIG_new() allocates and initializes a B<DSA_SIG> structure. 1859191Skris 1959191SkrisDSA_SIG_free() frees the B<DSA_SIG> structure and its components. The 2059191Skrisvalues are erased before the memory is returned to the system. 2159191Skris 2259191Skris=head1 RETURN VALUES 2359191Skris 2459191SkrisIf the allocation fails, DSA_SIG_new() returns B<NULL> and sets an 2559191Skriserror code that can be obtained by 2659191SkrisL<ERR_get_error(3)|ERR_get_error(3)>. Otherwise it returns a pointer 2759191Skristo the newly allocated structure. 2859191Skris 2959191SkrisDSA_SIG_free() returns no value. 3059191Skris 3159191Skris=head1 SEE ALSO 3259191Skris 33109998SmarkmL<dsa(3)|dsa(3)>, L<ERR_get_error(3)|ERR_get_error(3)>, 34109998SmarkmL<DSA_do_sign(3)|DSA_do_sign(3)> 3559191Skris 3659191Skris=head1 HISTORY 3759191Skris 3859191SkrisDSA_SIG_new() and DSA_SIG_free() were added in OpenSSL 0.9.3. 3959191Skris 4059191Skris=cut 41