From 857048a7f339913fc4e510ddf033878850c655cd Mon Sep 17 00:00:00 2001 From: Rich Salz Date: Thu, 14 May 2015 15:21:36 -0400 Subject: 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 --- apps/s_client.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'apps/s_client.c') diff --git a/apps/s_client.c b/apps/s_client.c index 8d78dc7df2..ba411f2e11 100644 --- a/apps/s_client.c +++ b/apps/s_client.c @@ -925,6 +925,13 @@ int s_client_main(int argc, char **argv) srp_arg.amp = 1; meth = TLSv1_client_method(); break; +#else + case OPT_SRPUSER: + case OPT_SRPPASS: + case OPT_SRP_STRENGTH: + case OPT_SRP_LATEUSER: + case OPT_SRP_MOREGROUPS: + break; #endif #ifndef OPENSSL_NO_SSL3 case OPT_SSL3: -- cgit v1.2.3