summaryrefslogtreecommitdiffstats
path: root/apps/srp.c
diff options
context:
space:
mode:
authorRich Salz <rsalz@akamai.com>2015-05-14 21:21:36 +0200
committerRich Salz <rsalz@openssl.org>2015-05-15 14:16:21 +0200
commit857048a7f339913fc4e510ddf033878850c655cd (patch)
treecb6af69094c972288773c36bc56b6b27b9d74090 /apps/srp.c
parentMake up for a missed 'make update' update. (diff)
downloadopenssl-857048a7f339913fc4e510ddf033878850c655cd.tar.xz
openssl-857048a7f339913fc4e510ddf033878850c655cd.zip
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