aboutsummaryrefslogtreecommitdiffstats
path: root/apps/srp.c
diff options
context:
space:
mode:
authorRich Salz <rsalz@akamai.com>2015-05-14 15:21:36 -0400
committerRich Salz <rsalz@openssl.org>2015-05-15 08:16:21 -0400
commit857048a7f339913fc4e510ddf033878850c655cd (patch)
treecb6af69094c972288773c36bc56b6b27b9d74090 /apps/srp.c
parent2eb264a14b93b277269b1f3311925d550d5de580 (diff)
downloadopenssl-857048a7f339913fc4e510ddf033878850c655cd.tar.gz
Use #error in openssl/srp.h
Follow the same convention the other OPENSSL_NO_xxx header files do, and use #error instead of making the header file be a no-op. Reviewed-by: Matt Caswell <matt@openssl.org>
Diffstat (limited to 'apps/srp.c')
-rw-r--r--apps/srp.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/srp.c b/apps/srp.c
index ec875cb9fb..6c50a6e6d7 100644
--- a/apps/srp.c
+++ b/apps/srp.c
@@ -680,4 +680,10 @@ int srp_main(int argc, char **argv)
return (ret);
}
+#else
+
+# if PEDANTIC
+static void *dummy = &dummy;
+# endif
+
#endif