summaryrefslogtreecommitdiffstats
path: root/crypto/bio
diff options
context:
space:
mode:
authorNils Larsch <nils@openssl.org>2006-02-02 22:11:02 +0000
committerNils Larsch <nils@openssl.org>2006-02-02 22:11:02 +0000
commitd5fd72fd0d49fb28959cbfb6a9c90bec4a2f1b7a (patch)
tree4e3fe154f97515d74125417608c8b5fe34dbf94a /crypto/bio
parentc7474d077bbb502d0e774d000b74a82121f5e7cf (diff)
fix if statement: call conn_state() if the BIO is not in the BIO_CONN_S_OK state
Diffstat (limited to 'crypto/bio')
-rw-r--r--crypto/bio/bss_conn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/bio/bss_conn.c b/crypto/bio/bss_conn.c
index 0c41b1b5a9..c14727855b 100644
--- a/crypto/bio/bss_conn.c
+++ b/crypto/bio/bss_conn.c
@@ -469,7 +469,7 @@ static long conn_ctrl(BIO *b, int cmd, long num, void *ptr)
break;
case BIO_C_DO_STATE_MACHINE:
/* use this one to start the connection */
- if (!(data->state != BIO_CONN_S_OK))
+ if (data->state != BIO_CONN_S_OK)
ret=(long)conn_state(b,data);
else
ret=1;