summaryrefslogtreecommitdiffstats
path: root/crypto/bio/bss_conn.c
diff options
context:
space:
mode:
authorTodd Short <tshort@akamai.com>2017-02-28 15:04:29 +0100
committerRich Salz <rsalz@openssl.org>2017-02-28 15:32:41 +0100
commit2722ff506de5cbdf68ca39c233ddb6e2fc15aa37 (patch)
tree9e15b7825a77ffda7744a059db7c13b68d32d069 /crypto/bio/bss_conn.c
parentCode health: Stop using timeb.h / ftime() (VMS only) (diff)
downloadopenssl-2722ff506de5cbdf68ca39c233ddb6e2fc15aa37.tar.xz
openssl-2722ff506de5cbdf68ca39c233ddb6e2fc15aa37.zip
Remove some #if 0 code in ssl, crypto/bio
Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/2781)
Diffstat (limited to 'crypto/bio/bss_conn.c')
-rw-r--r--crypto/bio/bss_conn.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/crypto/bio/bss_conn.c b/crypto/bio/bss_conn.c
index ddbc8967f6..5562efaa3b 100644
--- a/crypto/bio/bss_conn.c
+++ b/crypto/bio/bss_conn.c
@@ -478,15 +478,7 @@ static long conn_ctrl(BIO *b, int cmd, long num, void *ptr)
}
break;
case BIO_CTRL_SET_CALLBACK:
- {
-# if 0 /* FIXME: Should this be used? -- Richard
- * Levitte */
- BIOerr(BIO_F_CONN_CTRL, ERR_R_SHOULD_NOT_HAVE_BEEN_CALLED);
- ret = -1;
-# else
- ret = 0;
-# endif
- }
+ ret = 0; /* use callback ctrl */
break;
case BIO_CTRL_GET_CALLBACK:
{