aboutsummaryrefslogtreecommitdiff
path: root/crypto/rsa
diff options
context:
space:
mode:
authorBen Laurie <ben@openssl.org>1999-09-09 20:15:17 +0000
committerBen Laurie <ben@openssl.org>1999-09-09 20:15:17 +0000
commitd680ba861745f77d34b14a0d2e9faeafc187bb65 (patch)
treeae80720530a88f90c3483337c76742c79dde3a73 /crypto/rsa
parent396f631458c34469bf12a575f0fccc44282e0d1d (diff)
downloadopenssl-d680ba861745f77d34b14a0d2e9faeafc187bb65.zip
openssl-d680ba861745f77d34b14a0d2e9faeafc187bb65.tar.gz
openssl-d680ba861745f77d34b14a0d2e9faeafc187bb65.tar.bz2
Correct warnings.
Diffstat (limited to 'crypto/rsa')
-rw-r--r--crypto/rsa/rsa_null.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/crypto/rsa/rsa_null.c b/crypto/rsa/rsa_null.c
index a8e3e01..7b58a0e 100644
--- a/crypto/rsa/rsa_null.c
+++ b/crypto/rsa/rsa_null.c
@@ -77,7 +77,9 @@ static int RSA_null_public_decrypt(int flen, unsigned char *from,
unsigned char *to, RSA *rsa,int padding);
static int RSA_null_private_decrypt(int flen, unsigned char *from,
unsigned char *to, RSA *rsa,int padding);
+#if 0 /* not currently used */
static int RSA_null_mod_exp(BIGNUM *r0, BIGNUM *i, RSA *rsa);
+#endif
static int RSA_null_init(RSA *rsa);
static int RSA_null_finish(RSA *rsa);
static RSA_METHOD rsa_null_meth={
@@ -126,11 +128,13 @@ static int RSA_null_public_decrypt(int flen, unsigned char *from,
return -1;
}
+#if 0 /* not currently used */
static int RSA_null_mod_exp(BIGNUM *r0, BIGNUM *I, RSA *rsa)
{
RSAerr(RSA_F_RSA_NULL, RSA_R_RSA_OPERATIONS_NOT_SUPPORTED);
return -1;
}
+#endif
static int RSA_null_init(RSA *rsa)
{