summaryrefslogtreecommitdiff
path: root/crypto/asn1/n_pkey.c
diff options
context:
space:
mode:
authorulf <ulf>1999-04-27 01:13:19 +0000
committerulf <ulf>1999-04-27 01:13:19 +0000
commitcea2e5482d9d330b1f518dc9bae7e99d53ccef06 (patch)
tree410e9623b81ddcb4935d2e9d4e1dac95652dd040 /crypto/asn1/n_pkey.c
parentda67cbd3da40102050a13ec60675f06fcf08fd71 (diff)
downloadopenssl-cea2e5482d9d330b1f518dc9bae7e99d53ccef06.tar.gz
New Configure option no-<cipher> (rsa, idea, rc5, ...).
Diffstat (limited to 'crypto/asn1/n_pkey.c')
-rw-r--r--crypto/asn1/n_pkey.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/crypto/asn1/n_pkey.c b/crypto/asn1/n_pkey.c
index 9133bc6d2..cdc0d8b7c 100644
--- a/crypto/asn1/n_pkey.c
+++ b/crypto/asn1/n_pkey.c
@@ -56,6 +56,7 @@
* [including the GNU Public Licence.]
*/
+#ifndef NO_RSA
#include <stdio.h>
#include "cryptlib.h"
#include <openssl/rsa.h>
@@ -78,6 +79,7 @@ static int i2d_NETSCAPE_PKEY(NETSCAPE_PKEY *a, unsigned char **pp);
static NETSCAPE_PKEY *d2i_NETSCAPE_PKEY(NETSCAPE_PKEY **a,unsigned char **pp, long length);
static NETSCAPE_PKEY *NETSCAPE_PKEY_new(void);
static void NETSCAPE_PKEY_free(NETSCAPE_PKEY *);
+
int i2d_Netscape_RSA(RSA *a, unsigned char **pp, int (*cb)())
{
int i,j,l[6];
@@ -336,4 +338,4 @@ static void NETSCAPE_PKEY_free(NETSCAPE_PKEY *a)
}
#endif /* NO_RC4 */
-
+#endif