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/req.c | |
parent | c3ed3b6eab8b8f3a8ebe6fc6f5d14b4faf3c8cbe (diff) |
Make NO_RSA compile with pedantic.
Diffstat (limited to 'apps/req.c')
-rw-r--r-- | apps/req.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/req.c b/apps/req.c index 00ce231033..78e3edcaea 100644 --- a/apps/req.c +++ b/apps/req.c @@ -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) { |