diff options
author | Ben Laurie <ben@openssl.org> | 2000-01-08 21:06:24 +0000 |
---|---|---|
committer | Ben Laurie <ben@openssl.org> | 2000-01-08 21:06:24 +0000 |
commit | 752d706aaf651ce87368bc826a3035a6a4f31190 (patch) | |
tree | aee963771a74b435db3cac890768367920737602 /crypto | |
parent | c3ed3b6eab8b8f3a8ebe6fc6f5d14b4faf3c8cbe (diff) | |
download | openssl-new-752d706aaf651ce87368bc826a3035a6a4f31190.tar.gz |
Make NO_RSA compile with pedantic.
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/asn1/d2i_r_pr.c | 6 | ||||
-rw-r--r-- | crypto/asn1/d2i_r_pu.c | 6 | ||||
-rw-r--r-- | crypto/asn1/i2d_r_pr.c | 6 | ||||
-rw-r--r-- | crypto/asn1/i2d_r_pu.c | 6 | ||||
-rw-r--r-- | crypto/asn1/n_pkey.c | 7 | ||||
-rw-r--r-- | crypto/evp/p_open.c | 6 | ||||
-rw-r--r-- | crypto/pem/pem_seal.c | 6 |
7 files changed, 43 insertions, 0 deletions
diff --git a/crypto/asn1/d2i_r_pr.c b/crypto/asn1/d2i_r_pr.c index b6b2fc81a4..6c8a45f821 100644 --- a/crypto/asn1/d2i_r_pr.c +++ b/crypto/asn1/d2i_r_pr.c @@ -119,4 +119,10 @@ err: return(NULL); } +#else /* !NO_RSA */ + +# if PEDANTIC +static void *dummy=&dummy; +# endif + #endif diff --git a/crypto/asn1/d2i_r_pu.c b/crypto/asn1/d2i_r_pu.c index e8ca782190..d1289f160e 100644 --- a/crypto/asn1/d2i_r_pu.c +++ b/crypto/asn1/d2i_r_pu.c @@ -94,4 +94,10 @@ err: if (bs != NULL) M_ASN1_INTEGER_free(bs); return(NULL); } +#else /* !NO_RSA */ + +# if PEDANTIC +static void *dummy=&dummy; +# endif + #endif diff --git a/crypto/asn1/i2d_r_pr.c b/crypto/asn1/i2d_r_pr.c index 27e6844a7f..cf5fd9e94e 100644 --- a/crypto/asn1/i2d_r_pr.c +++ b/crypto/asn1/i2d_r_pr.c @@ -123,5 +123,11 @@ int i2d_RSAPrivateKey(RSA *a, unsigned char **pp) *pp=p; return(t); } +#else /* !NO_RSA */ + +# if PEDANTIC +static void *dummy=&dummy; +# endif + #endif diff --git a/crypto/asn1/i2d_r_pu.c b/crypto/asn1/i2d_r_pu.c index 6d01bfa8b5..142392f1ae 100644 --- a/crypto/asn1/i2d_r_pu.c +++ b/crypto/asn1/i2d_r_pu.c @@ -109,4 +109,10 @@ int i2d_RSAPublicKey(RSA *a, unsigned char **pp) *pp=p; return(t); } +#else /* !NO_RSA */ + +# if PEDANTIC +static void *dummy=&dummy; +# endif + #endif diff --git a/crypto/asn1/n_pkey.c b/crypto/asn1/n_pkey.c index b2fdadcc15..7e3d666f6e 100644 --- a/crypto/asn1/n_pkey.c +++ b/crypto/asn1/n_pkey.c @@ -338,4 +338,11 @@ static void NETSCAPE_PKEY_free(NETSCAPE_PKEY *a) } #endif /* NO_RC4 */ + +#else /* !NO_RSA */ + +# if PEDANTIC +static void *dummy=&dummy; +# endif + #endif diff --git a/crypto/evp/p_open.c b/crypto/evp/p_open.c index ddb9fd6942..b9ca7892c2 100644 --- a/crypto/evp/p_open.c +++ b/crypto/evp/p_open.c @@ -110,4 +110,10 @@ int EVP_OpenFinal(EVP_CIPHER_CTX *ctx, unsigned char *out, int *outl) EVP_DecryptInit(ctx,NULL,NULL,NULL); return(i); } +#else /* !NO_RSA */ + +# ifdef PEDANTIC +static void *dummy=&dummy; +# endif + #endif diff --git a/crypto/pem/pem_seal.c b/crypto/pem/pem_seal.c index 23f95beb1e..126e29d375 100644 --- a/crypto/pem/pem_seal.c +++ b/crypto/pem/pem_seal.c @@ -175,4 +175,10 @@ err: if (s != NULL) Free(s); return(ret); } +#else /* !NO_RSA */ + +# if PEDANTIC +static void *dummy=&dummy; +# endif + #endif |