diff options
author | Todd Short <tshort@akamai.com> | 2018-05-14 10:41:06 -0400 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2018-05-20 10:07:03 +0200 |
commit | dad886806f8bbf7fa0e82776e2ea8a23733b9a63 (patch) | |
tree | c2fe2bc04afc4ae912382a22029affa5a3044120 /apps/s_client.c | |
parent | c1c1783d45a5e91951e6328a820939d0256c841c (diff) |
Fix no-srtp build warnings
Reviewed-by: Andy Polyakov <appro@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/6255)
Diffstat (limited to 'apps/s_client.c')
-rw-r--r-- | apps/s_client.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/s_client.c b/apps/s_client.c index 96f9da6985..59342366b9 100644 --- a/apps/s_client.c +++ b/apps/s_client.c @@ -935,7 +935,9 @@ int s_client_main(int argc, char **argv) int srp_lateuser = 0; SRP_ARG srp_arg = { NULL, NULL, 0, 0, 0, 1024 }; #endif +#ifndef OPENSSL_NO_SRTP char *srtp_profiles = NULL; +#endif #ifndef OPENSSL_NO_CT char *ctlog_file = NULL; int ct_validation = 0; @@ -1422,7 +1424,9 @@ int s_client_main(int argc, char **argv) noservername = 1; break; case OPT_USE_SRTP: +#ifndef OPENSSL_NO_SRTP srtp_profiles = opt_arg(); +#endif break; case OPT_KEYMATEXPORT: keymatexportlabel = opt_arg(); |