summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/genrsa.c6
-rw-r--r--apps/req.c4
-rw-r--r--apps/rsa.c6
3 files changed, 16 insertions, 0 deletions
diff --git a/apps/genrsa.c b/apps/genrsa.c
index 96df5703c4..00a556599c 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
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)
{
diff --git a/apps/rsa.c b/apps/rsa.c
index 7d58b1715b..e5726938a9 100644
--- a/apps/rsa.c
+++ b/apps/rsa.c
@@ -395,4 +395,10 @@ end:
if (rsa != NULL) RSA_free(rsa);
EXIT(ret);
}
+#else /* !NO_RSA */
+
+# if PEDANTIC
+static void *dummy=&dummy;
+# endif
+
#endif