NAME
DSAnew, DSAfree - allocate and free DSA objects
SYNOPSIS
#include
DSA* DSAnew(void); void DSAfree(DSA *dsa);DESCRIPTION
DSAnew() allocates and initializes a DDSSAA structure. It is equivalent to calling DSAnewmethod(NULL). DSAfree() frees the DDSSAA structure and its components. The values are erased before the memory is returned to the system.RETURN VALUES
If the allocation fails, DSAnew() returns NNUULLLL and sets an error code that can be obtained by ERRgeterror(3). Otherwise it returns a pointer to the newly allocated structure. DSAfree() returns no value.SEE ALSO
dsa(3), ERRgeterror(3), DSAgenerateparameters(3), DSAgeneratekey(3) HISTORY DSAnew() and DSAfree() are available in all versions of SSLeay and OpenSSL.0.9.7l 2002-09-25 DSAnew(3)