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

ssl/s3_clnt.c
ssl/s3_srvr.c

index e02f625155cb51d7902c4390a05676a7924199a3..4d6da271a879530c21918ba1d79281cbcf8d3a79 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 21bd968579933af0931d2e743ee1a190c3c47ec6..0280bb92f76ac52813c57b716d1485378c363cb1 100644 (file)
@@ -561,9 +561,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);
        }