DSA_SIG_new 3 2003-07-24 0.9.9-dev OpenSSL

NAME

DSA_SIG_new, DSA_SIG_free - allocate and free DSA signature objects

LIBRARY

libcrypto, -lcrypto

SYNOPSIS


 #include 


 DSA_SIG *DSA_SIG_new(void);


 void   DSA_SIG_free(DSA_SIG *a);

DESCRIPTION

_D_S_A___S_I_G___n_e_w_(_) allocates and initializes a DDSSAA__SSIIGG structure.

_D_S_A___S_I_G___f_r_e_e_(_) frees the DDSSAA__SSIIGG structure and its components. The values are erased before the memory is returned to the system.

RETURN VALUES

If the allocation fails, _D_S_A___S_I_G___n_e_w_(_) returns NNUULLLL and sets an error code that can be obtained by _E_R_R___g_e_t___e_r_r_o_r(3). Otherwise it returns a pointer to the newly allocated structure.

_D_S_A___S_I_G___f_r_e_e_(_) returns no value.

SEE ALSO

_o_p_e_n_s_s_l___d_s_a(3), _E_R_R___g_e_t___e_r_r_o_r(3), _D_S_A___d_o___s_i_g_n(3)

HISTORY

_D_S_A___S_I_G___n_e_w_(_) and _D_S_A___S_I_G___f_r_e_e_(_) were added in OpenSSL 0.9.3.