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 52dda37..c3be69b 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 8c5b6e8..72a73cd 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);
        }