summaryrefslogtreecommitdiffstats
path: root/ssl/ssl_lib.c
diff options
context:
space:
mode:
authorRich Salz <rsalz@akamai.com>2016-01-13 23:11:01 -0500
committerRich Salz <rsalz@openssl.org>2016-01-14 11:32:18 -0500
commit3a4e9367d83a43f0d1c5b5eab4396c4b05df1a6b (patch)
treeac094a429840eedef10c80db7f6d47d72221f608 /ssl/ssl_lib.c
parenta7cf07b4961347713b0fea321c301a0a618b4f2e (diff)
RT4232: Extra space in help message.
It turns out that -pause calls the undocumented function SSL_set_debug. That just sets flag inside the SSL structure. That flag, despite the command is never used. So remove the flag, the field, and the function. Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'ssl/ssl_lib.c')
-rw-r--r--ssl/ssl_lib.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/ssl/ssl_lib.c b/ssl/ssl_lib.c
index ba52a517e5..03f338bc53 100644
--- a/ssl/ssl_lib.c
+++ b/ssl/ssl_lib.c
@@ -3052,8 +3052,6 @@ SSL *SSL_dup(SSL *s)
SSL_set_info_callback(ret, SSL_get_info_callback(s));
- ret->debug = s->debug;
-
/* copy app data, a little dangerous perhaps */
if (!CRYPTO_dup_ex_data(CRYPTO_EX_INDEX_SSL, &ret->ex_data, &s->ex_data))
goto err;
@@ -3665,11 +3663,6 @@ int ssl_handshake_hash(SSL *s, unsigned char *out, int outlen)
return ret;
}
-void SSL_set_debug(SSL *s, int debug)
-{
- s->debug = debug;
-}
-
int SSL_cache_hit(SSL *s)
{
return s->hit;