DSA_SIG_new.pod 867 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. =pod
  2. =head1 NAME
  3. DSA_SIG_new, DSA_SIG_free - allocate and free DSA signature objects
  4. =head1 SYNOPSIS
  5. #include <openssl/dsa.h>
  6. DSA_SIG *DSA_SIG_new(void);
  7. void DSA_SIG_free(DSA_SIG *a);
  8. =head1 DESCRIPTION
  9. DSA_SIG_new() allocates and initializes a B<DSA_SIG> structure.
  10. DSA_SIG_free() frees the B<DSA_SIG> structure and its components. The
  11. values are erased before the memory is returned to the system.
  12. =head1 RETURN VALUES
  13. If the allocation fails, DSA_SIG_new() returns B<NULL> and sets an
  14. error code that can be obtained by
  15. L<ERR_get_error(3)|ERR_get_error(3)>. Otherwise it returns a pointer
  16. to the newly allocated structure.
  17. DSA_SIG_free() returns no value.
  18. =head1 SEE ALSO
  19. L<dsa(3)|dsa(3)>, L<ERR_get_error(3)|ERR_get_error(3)>,
  20. L<DSA_do_sign(3)|DSA_do_sign(3)>
  21. =head1 HISTORY
  22. DSA_SIG_new() and DSA_SIG_free() were added in OpenSSL 0.9.3.
  23. =cut