summaryrefslogtreecommitdiff
path: root/ssl/statem/statem_dtls.c
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2017-12-04 16:16:37 +0000
committerMatt Caswell <matt@openssl.org>2017-12-08 16:42:02 +0000
commitc28533829395183eec027969c0c8d28574f2a3cc (patch)
tree3df7201a3b7c85c043cc02a402d2bdb359c7c007 /ssl/statem/statem_dtls.c
parent99dd374055e9179eea082d4c37fd19ed8814fb22 (diff)
downloadopenssl-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.c2
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