Remove structures that are no longer used.
[openssl.git] / doc / crypto / DSA_new.pod
1 =pod
2
3 =head1 NAME
4
5 DSA_new, DSA_free - allocate and free DSA objects
6
7 =head1 SYNOPSIS
8
9  #include <openssl/dsa.h>
10
11  DSA* DSA_new(void);
12
13  void DSA_free(DSA *dsa);
14
15 =head1 DESCRIPTION
16
17 DSA_new() allocates and initializes a B<DSA> structure.
18
19 DSA_free() frees the B<DSA> structure and its components. The values are
20 erased before the memory is returned to the system.
21
22 =head1 RETURN VALUES
23
24 If the allocation fails, DSA_new() returns B<NULL> and sets an error
25 code that can be obtained by
26 L<ERR_get_error(3)|ERR_get_error(3)>. Otherwise it returns a pointer
27 to the newly allocated structure.
28
29 DSA_free() returns no value.
30
31 =head1 SEE ALSO
32
33 L<dsa(3)|dsa(3)>, L<err(3)|err(3)>,
34 L<DSA_generate_parameters(3)|DSA_generate_parameters(3)>,
35 L<DSA_generate_key(3)|DSA_generate_key(3)>
36
37 =head1 HISTORY
38
39 DSA_new() and DSA_free() are available in all versions of SSLeay and OpenSSL.
40
41 =cut