Unify s_client/s_server srtp profiles option handling
authorFdaSilvaYY <fdasilvayy@gmail.com>
Wed, 21 Mar 2018 20:01:24 +0000 (16:01 -0400)
committerRich Salz <rsalz@openssl.org>
Wed, 21 Mar 2018 20:15:50 +0000 (16:15 -0400)
commit1fb6b0bf3e895c6b30f9c95a23284f93e4fa19b0
tree291b42ebcad064e05d004c37dcb7b98ff50a3505
parentab0a3914a64d8f1fce22795c02269e1288df52b1
Unify s_client/s_server srtp profiles option handling

Add missing guards around STRP-related fields
Remove two unneeded global variables: my 2'cents to #4679
Merge definition and instantiation of srpsrvparm global.

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Ben Kaduk <kaduk@mit.edu>
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/4908)
apps/s_client.c
apps/s_server.c
ssl/ssl_locl.h