summaryrefslogtreecommitdiffstats
path: root/rsaref
diff options
context:
space:
mode:
authorUlf Möller <ulf@openssl.org>1999-04-27 03:19:12 +0000
committerUlf Möller <ulf@openssl.org>1999-04-27 03:19:12 +0000
commit79df9d62721467927c81f1fa91568340e873ee9c (patch)
tree09b9c72ecf0604bc994b97e0501e561311a1559b /rsaref
parent281c52c0548e4410e225464a30a82aac6d9ea70b (diff)
New Configure option no-<cipher> (rsa, idea, rc5, ...).
Diffstat (limited to 'rsaref')
-rw-r--r--rsaref/rsaref.c3
-rw-r--r--rsaref/rsaref.h2
2 files changed, 4 insertions, 1 deletions
diff --git a/rsaref/rsaref.c b/rsaref/rsaref.c
index 0b4fb77232..b070c5684c 100644
--- a/rsaref/rsaref.c
+++ b/rsaref/rsaref.c
@@ -56,6 +56,7 @@
* [including the GNU Public Licence.]
*/
+#ifndef NO_RSA
#include <stdio.h>
#include "cryptlib.h"
#include <openssl/bn.h>
@@ -296,4 +297,4 @@ err:
memset(&rnd,0,sizeof(rnd));
return(outlen);
}
-
+#endif
diff --git a/rsaref/rsaref.h b/rsaref/rsaref.h
index bbc314fbbd..817c6cec75 100644
--- a/rsaref/rsaref.h
+++ b/rsaref/rsaref.h
@@ -59,6 +59,7 @@
#ifndef HEADER_RSAREF_H
#define HEADER_RSAREF_H
+#ifndef NO_RSA
#include <openssl/rsa.h>
/* RSAeuro */
@@ -128,6 +129,7 @@ int R_RandomFinal(RSARandomState *rnd);
void ERR_load_RSAREF_strings(void );
RSA_METHOD *RSA_PKCS1_RSAref(void );
+#endif
/* BEGIN ERROR CODES */
/* The following lines are auto generated by the script mkerr.pl. Any changes