提交 6b937f8b 编写于 作者: A Andy Polyakov

ssl/s3_clnt.c: fix intermittent failures.

[and respect error return value in ssltest.c]
Reviewed-by: NMatt Caswell <matt@openssl.org>
上级 10bf4fc2
......@@ -2580,6 +2580,7 @@ int ssl3_send_client_key_exchange(SSL *s)
DH_free(dh_clnt);
goto err;
}
pmslen = n;
if (s->s3->flags & TLS1_FLAGS_SKIP_CERT_VERIFY)
n = 0;
......
......@@ -1707,13 +1707,14 @@ int main(int argc, char *argv[])
ret = doit_biopair(s_ssl, c_ssl, bytes, &s_time, &c_time);
else
ret = doit(s_ssl, c_ssl, bytes);
if (ret) break;
}
if (!verbose) {
print_details(c_ssl, "");
}
if ((number > 1) || (bytes > 1L))
BIO_printf(bio_stdout, "%d handshakes of %ld bytes done\n", number,
if ((i > 1) || (bytes > 1L))
BIO_printf(bio_stdout, "%d handshakes of %ld bytes done\n", i,
bytes);
if (print_time) {
#ifdef CLOCKS_PER_SEC
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册