From 0b51beff2649a5412bfdf8720a7f437690e48195 Mon Sep 17 00:00:00 2001 From: Nils Larsch Date: Thu, 2 Feb 2006 22:29:55 +0000 Subject: [PATCH] fix if statement: call conn_state() if the BIO is not in the BIO_CONN_S_OK state --- crypto/bio/bss_conn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crypto/bio/bss_conn.c b/crypto/bio/bss_conn.c index f4896eecab..216780ed5e 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;