projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
DTLS version usage fixes.
[openssl.git]
/
ssl
/
s3_clnt.c
diff --git
a/ssl/s3_clnt.c
b/ssl/s3_clnt.c
index 24c180c4d7294a961463fe5a49a3fbdf6d9b9b28..ce7b36aa14083c0a866a6a2a198b4897eb208d32 100644
(file)
--- 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.
*/
/* 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,
s->first_packet = 1;
n=s->method->ssl_get_message(s,