diff options
author | Todd Short <tshort@akamai.com> | 2017-02-28 09:04:29 -0500 |
---|---|---|
committer | Rich Salz <rsalz@openssl.org> | 2017-02-28 09:32:41 -0500 |
commit | 2722ff506de5cbdf68ca39c233ddb6e2fc15aa37 (patch) | |
tree | 9e15b7825a77ffda7744a059db7c13b68d32d069 /ssl/bio_ssl.c | |
parent | 14097b6a9263a40615a5c4cbf3fe808b1a14ffde (diff) | |
download | openssl-2722ff506de5cbdf68ca39c233ddb6e2fc15aa37.zip openssl-2722ff506de5cbdf68ca39c233ddb6e2fc15aa37.tar.gz openssl-2722ff506de5cbdf68ca39c233ddb6e2fc15aa37.tar.bz2 |
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 'ssl/bio_ssl.c')
-rw-r--r-- | ssl/bio_ssl.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/ssl/bio_ssl.c b/ssl/bio_ssl.c index 3d380c8..8b5036f 100644 --- a/ssl/bio_ssl.c +++ b/ssl/bio_ssl.c @@ -380,15 +380,7 @@ static long ssl_ctrl(BIO *b, int cmd, long num, void *ptr) ret = BIO_ctrl(ssl->rbio, cmd, num, ptr); break; case BIO_CTRL_SET_CALLBACK: - { -#if 0 /* FIXME: Should this be used? -- Richard - * Levitte */ - SSLerr(SSL_F_SSL_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: { |