DSA_new(3) OpenSSL DSA_new(3) NNAAMMEE DSA_new, DSA_free - allocate and free DSA objects SSYYNNOOPPSSIISS #include DSA* DSA_new(void); void DSA_free(DSA *dsa); DDEESSCCRRIIPPTTIIOONN _D_S_A___n_e_w_(_) allocates and initializes a DDSSAA structure. It is equivalent to calling DSA_new_method(NULL). _D_S_A___f_r_e_e_(_) frees the DDSSAA structure and its components. The values are erased before the memory is returned to the system. RREETTUURRNN VVAALLUUEESS If the allocation fails, _D_S_A___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___f_r_e_e_(_) returns no value. SSEEEE AALLSSOO _d_s_a(3), _E_R_R___g_e_t___e_r_r_o_r(3), _D_S_A___g_e_n_e_r_a_t_e___p_a_r_a_m_e_t_e_r_s(3), _D_S_A___g_e_n_e_r_- _a_t_e___k_e_y(3) HHIISSTTOORRYY _D_S_A___n_e_w_(_) and _D_S_A___f_r_e_e_(_) are available in all versions of SSLeay and OpenSSL. 1.0.2u 2019-12-20 DSA_new(3)