diff options
author | Matt Caswell <matt@openssl.org> | 2017-12-04 16:16:37 +0000 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2017-12-08 16:42:02 +0000 |
commit | c28533829395183eec027969c0c8d28574f2a3cc (patch) | |
tree | 3df7201a3b7c85c043cc02a402d2bdb359c7c007 /ssl/statem/statem_dtls.c | |
parent | 99dd374055e9179eea082d4c37fd19ed8814fb22 (diff) | |
download | openssl-new-c28533829395183eec027969c0c8d28574f2a3cc.tar.gz |
More record layer conversions to use SSLfatal()
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/4841)
Diffstat (limited to 'ssl/statem/statem_dtls.c')
-rw-r--r-- | ssl/statem/statem_dtls.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl/statem/statem_dtls.c b/ssl/statem/statem_dtls.c index d19fe0a0c4..8604d5bdb2 100644 --- a/ssl/statem/statem_dtls.c +++ b/ssl/statem/statem_dtls.c @@ -944,7 +944,7 @@ int dtls1_read_failed(SSL *s, int code) return 0; } - if (!dtls1_is_timer_expired(s)) { + if (!dtls1_is_timer_expired(s) || ossl_statem_in_error(s)) { /* * not a timeout, none of our business, let higher layers handle * this. in fact it's probably an error |