projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a9f9ae
)
fix if statement: call conn_state() if the BIO is not in the BIO_CONN_S_OK state
author
Nils Larsch
<nils@openssl.org>
Thu, 2 Feb 2006 22:29:55 +0000
(22:29 +0000)
committer
Nils Larsch
<nils@openssl.org>
Thu, 2 Feb 2006 22:29:55 +0000
(22:29 +0000)
crypto/bio/bss_conn.c
patch
|
blob
|
history
diff --git
a/crypto/bio/bss_conn.c
b/crypto/bio/bss_conn.c
index f4896eecabdd4158d5c2d5561210e6761319eb44..216780ed5e9bb09cdeedc86997586324042fcaf2 100644
(file)
--- 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;