X-Git-Url: https://git.openssl.org/?p=openssl.git;a=blobdiff_plain;f=ssl%2Fs3_clnt.c;h=ce7b36aa14083c0a866a6a2a198b4897eb208d32;hp=24c180c4d7294a961463fe5a49a3fbdf6d9b9b28;hb=40088d8b8190a2a33828a769c23bf35de542c7dc;hpb=7d3ba88a984899ef3ba6c96d6ef785874a7ae34e;ds=sidebyside diff --git a/ssl/s3_clnt.c b/ssl/s3_clnt.c index 24c180c4d7..ce7b36aa14 100644 --- a/ssl/s3_clnt.c +++ b/ssl/s3_clnt.c @@ -928,7 +928,7 @@ int ssl3_get_server_hello(SSL *s) /* Hello verify request and/or server hello version may not * match so set first packet if we're negotiating version. */ - if (s->method->version == DTLS_ANY_VERSION) + if (SSL_IS_DTLS(s)) s->first_packet = 1; n=s->method->ssl_get_message(s,