From 52261db09ef9dbf5abc95baed22722c5c332f9f7 Mon Sep 17 00:00:00 2001 From: Rob Austein Date: Tue, 20 Jun 2006 17:33:26 +0000 Subject: Pulling OpenSSL 0.9.8b into trunk svn path=/openssl/trunk; revision=3 --- openssl/trunk/doc/crypto/RSA_new.pod | 41 ++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 openssl/trunk/doc/crypto/RSA_new.pod (limited to 'openssl/trunk/doc/crypto/RSA_new.pod') diff --git a/openssl/trunk/doc/crypto/RSA_new.pod b/openssl/trunk/doc/crypto/RSA_new.pod new file mode 100644 index 00000000..3d15b928 --- /dev/null +++ b/openssl/trunk/doc/crypto/RSA_new.pod @@ -0,0 +1,41 @@ +=pod + +=head1 NAME + +RSA_new, RSA_free - allocate and free RSA objects + +=head1 SYNOPSIS + + #include + + RSA * RSA_new(void); + + void RSA_free(RSA *rsa); + +=head1 DESCRIPTION + +RSA_new() allocates and initializes an B structure. It is equivalent to +calling RSA_new_method(NULL). + +RSA_free() frees the B structure and its components. The key is +erased before the memory is returned to the system. + +=head1 RETURN VALUES + +If the allocation fails, RSA_new() returns B and sets an error +code that can be obtained by L. Otherwise it returns +a pointer to the newly allocated structure. + +RSA_free() returns no value. + +=head1 SEE ALSO + +L, L, +L, +L + +=head1 HISTORY + +RSA_new() and RSA_free() are available in all versions of SSLeay and OpenSSL. + +=cut -- cgit v1.2.3