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 /apps | |
parent | c3ed3b6eab8b8f3a8ebe6fc6f5d14b4faf3c8cbe (diff) | |
download | openssl-752d706aaf651ce87368bc826a3035a6a4f31190.zip openssl-752d706aaf651ce87368bc826a3035a6a4f31190.tar.gz openssl-752d706aaf651ce87368bc826a3035a6a4f31190.tar.bz2 |
Make NO_RSA compile with pedantic.
Diffstat (limited to 'apps')
-rw-r--r-- | apps/genrsa.c | 6 | ||||
-rw-r--r-- | apps/req.c | 4 | ||||
-rw-r--r-- | apps/rsa.c | 6 |
3 files changed, 16 insertions, 0 deletions
diff --git a/apps/genrsa.c b/apps/genrsa.c index 96df570..00a5565 100644 --- a/apps/genrsa.c +++ b/apps/genrsa.c @@ -216,4 +216,10 @@ static void MS_CALLBACK genrsa_cb(int p, int n, void *arg) p=n; #endif } +#else /* !NO_RSA */ + +# if PEDANTIC +static void *dummy=&dummy; +# endif + #endif @@ -120,7 +120,9 @@ static int add_attribute_object(STACK_OF(X509_ATTRIBUTE) *n, char *text, int max); static int add_DN_object(X509_NAME *n, char *text, char *def, char *value, int nid,int min,int max); +#ifndef NO_RSA static void MS_CALLBACK req_cb(int p,int n,void *arg); +#endif static int req_fix_data(int nid,int *type,int len,int min,int max); static int check_end(char *str, char *end); static int add_oid_section(LHASH *conf); @@ -1403,6 +1405,7 @@ err: return(0); } +#ifndef NO_RSA static void MS_CALLBACK req_cb(int p, int n, void *arg) { char c='*'; @@ -1417,6 +1420,7 @@ static void MS_CALLBACK req_cb(int p, int n, void *arg) p=n; #endif } +#endif static int req_fix_data(int nid, int *type, int len, int min, int max) { @@ -395,4 +395,10 @@ end: if (rsa != NULL) RSA_free(rsa); EXIT(ret); } +#else /* !NO_RSA */ + +# if PEDANTIC +static void *dummy=&dummy; +# endif + #endif |