Blame doc/man3/DSA_new.pod

Packit c4476c
=pod
Packit c4476c
Packit c4476c
=head1 NAME
Packit c4476c
Packit c4476c
DSA_new, DSA_free - allocate and free DSA objects
Packit c4476c
Packit c4476c
=head1 SYNOPSIS
Packit c4476c
Packit c4476c
 #include <openssl/dsa.h>
Packit c4476c
Packit c4476c
 DSA* DSA_new(void);
Packit c4476c
Packit c4476c
 void DSA_free(DSA *dsa);
Packit c4476c
Packit c4476c
=head1 DESCRIPTION
Packit c4476c
Packit c4476c
DSA_new() allocates and initializes a B<DSA> structure. It is equivalent to
Packit c4476c
calling DSA_new_method(NULL).
Packit c4476c
Packit c4476c
DSA_free() frees the B<DSA> structure and its components. The values are
Packit c4476c
erased before the memory is returned to the system.
Packit c4476c
If B<dsa> is NULL nothing is done.
Packit c4476c
Packit c4476c
=head1 RETURN VALUES
Packit c4476c
Packit c4476c
If the allocation fails, DSA_new() returns B<NULL> and sets an error
Packit c4476c
code that can be obtained by
Packit c4476c
L<ERR_get_error(3)>. Otherwise it returns a pointer
Packit c4476c
to the newly allocated structure.
Packit c4476c
Packit c4476c
DSA_free() returns no value.
Packit c4476c
Packit c4476c
=head1 SEE ALSO
Packit c4476c
Packit c4476c
L<DSA_new(3)>, L<ERR_get_error(3)>,
Packit c4476c
L<DSA_generate_parameters(3)>,
Packit c4476c
L<DSA_generate_key(3)>
Packit c4476c
Packit c4476c
=head1 COPYRIGHT
Packit c4476c
Packit c4476c
Copyright 2000-2016 The OpenSSL Project Authors. All Rights Reserved.
Packit c4476c
Packit c4476c
Licensed under the OpenSSL license (the "License").  You may not use
Packit c4476c
this file except in compliance with the License.  You can obtain a copy
Packit c4476c
in the file LICENSE in the source distribution or at
Packit c4476c
L<https://www.openssl.org/source/license.html>.
Packit c4476c
Packit c4476c
=cut