1DSA_SIG_new(3) OpenSSL DSA_SIG_new(3)
2
3
4
6 DSA_SIG_new, DSA_SIG_free - allocate and free DSA signature objects
7
9 #include <openssl/dsa.h>
10
11 DSA_SIG *DSA_SIG_new(void);
12
13 void DSA_SIG_free(DSA_SIG *a);
14
16 DSA_SIG_new() allocates and initializes a DSA_SIG structure.
17
18 DSA_SIG_free() frees the DSA_SIG structure and its components. The
19 values are erased before the memory is returned to the system.
20
22 If the allocation fails, DSA_SIG_new() returns NULL and sets an error
23 code that can be obtained by ERR_get_error(3). Otherwise it returns a
24 pointer to the newly allocated structure.
25
26 DSA_SIG_free() returns no value.
27
29 dsa(3), ERR_get_error(3), DSA_do_sign(3)
30
32 DSA_SIG_new() and DSA_SIG_free() were added in OpenSSL 0.9.3.
33
34
35
361.0.2o 2018-03-27 DSA_SIG_new(3)