ADC Home > Reference Library > Reference > Mac OS X > Mac OS X Man Pages

 

This document is a Mac OS X manual page. Manual pages are a command-line technology for providing documentation. You can view these manual pages locally using the man(1) command. These manual pages come from many different sources, and thus, have a variety of writing styles.

This manual page is associated with the Mac OS X developer tools. The software or headers described may not be present on your Mac OS X installation until you install the developer tools package. This package is available on your Mac OS X installation DVD, and the latest versions can be downloaded from developer.apple.com.

For more information about the manual page format, see the manual page for manpages(5).



DSA_new(3)                                         OpenSSL                                        DSA_new(3)



NAME
       DSA_new, DSA_free - allocate and free DSA objects

SYNOPSIS
        #include <openssl/dsa.h>

        DSA* DSA_new(void);

        void DSA_free(DSA *dsa);

DESCRIPTION
       DSA_new() allocates and initializes a DSA structure. It is equivalent to calling
       DSA_new_method(NULL).

       DSA_free() frees the DSA structure and its components. The values are erased before the memory is
       returned to the system.

RETURN VALUES
       If the allocation fails, DSA_new() returns NULL and sets an error code that can be obtained by
       ERR_get_error(3). Otherwise it returns a pointer to the newly allocated structure.

       DSA_free() returns no value.

SEE ALSO
       dsa(3), ERR_get_error(3), DSA_generate_parameters(3), DSA_generate_key(3)

HISTORY
       DSA_new() and DSA_free() are available in all versions of SSLeay and OpenSSL.



0.9.7l                                           2002-09-25                                       DSA_new(3)

Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.