Consistency with s2_... and s23_... variants (no real functional
authorBodo Möller <bodo@openssl.org>
Thu, 25 Oct 2001 08:17:53 +0000 (08:17 +0000)
committerBodo Möller <bodo@openssl.org>
Thu, 25 Oct 2001 08:17:53 +0000 (08:17 +0000)
change)

ssl/s3_clnt.c
ssl/s3_srvr.c

index 52dda37f6d63d0c95af402ff9e57a5a52755dba2..c3be69b928c3a1a71867cba29039d38f27317771 100644 (file)
@@ -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);
        }
 
index 8c5b6e8c9cb658343bb6c90b6dbc7bfbd332d441..72a73cd9d0a5c802067a4d609bdd23c6b84bff40 100644 (file)
@@ -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);
        }