summaryrefslogtreecommitdiffstats
path: root/ssl
diff options
context:
space:
mode:
authorBodo Möller <bodo@openssl.org>2001-10-25 08:17:53 +0000
committerBodo Möller <bodo@openssl.org>2001-10-25 08:17:53 +0000
commit4d635a700130cd521748b8c321f09373acf5339a (patch)
tree7164778698054b1d70b6c8126e557b364085cd4e /ssl
parentce15d5a9dc663399ee2cfdb27d33b27faeba2a52 (diff)
Consistency with s2_... and s23_... variants (no real functional
change)
Diffstat (limited to 'ssl')
-rw-r--r--ssl/s3_clnt.c2
-rw-r--r--ssl/s3_srvr.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/ssl/s3_clnt.c b/ssl/s3_clnt.c
index 52dda37f6d..c3be69b928 100644
--- a/ssl/s3_clnt.c
+++ b/ssl/s3_clnt.c
@@ -441,9 +441,9 @@ int ssl3_connect(SSL *s)
skip=0;
}
end:
+ s->in_handshake--;
if (cb != NULL)
cb(s,SSL_CB_CONNECT_EXIT,ret);
- s->in_handshake--;
return(ret);
}
diff --git a/ssl/s3_srvr.c b/ssl/s3_srvr.c
index 8c5b6e8c9c..72a73cd9d0 100644
--- a/ssl/s3_srvr.c
+++ b/ssl/s3_srvr.c
@@ -573,9 +573,9 @@ int ssl3_accept(SSL *s)
end:
/* BIO_flush(s->wbio); */
+ s->in_handshake--;
if (cb != NULL)
cb(s,SSL_CB_ACCEPT_EXIT,ret);
- s->in_handshake--;
return(ret);
}