summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjsing <>2019-04-04 14:32:49 +0000
committerjsing <>2019-04-04 14:32:49 +0000
commit3b50812b7511c2b9b68aa78ee812e5eb6939a3d5 (patch)
tree722f14cf22d0214cfe4c3f00a6fa9c9d9ddcdf57
parent02f83a26549922242973be546db47c2d1f8e5bcd (diff)
downloadopenbsd-3b50812b7511c2b9b68aa78ee812e5eb6939a3d5.tar.gz
openbsd-3b50812b7511c2b9b68aa78ee812e5eb6939a3d5.tar.bz2
openbsd-3b50812b7511c2b9b68aa78ee812e5eb6939a3d5.zip
This case also needs to be fatal.
-rw-r--r--src/lib/libssl/ssl_sess.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/libssl/ssl_sess.c b/src/lib/libssl/ssl_sess.c
index 1abefd5211..7e8a1bc670 100644
--- a/src/lib/libssl/ssl_sess.c
+++ b/src/lib/libssl/ssl_sess.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ssl_sess.c,v 1.83 2019/04/01 06:43:53 deraadt Exp $ */ 1/* $OpenBSD: ssl_sess.c,v 1.84 2019/04/04 14:32:49 jsing Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -466,6 +466,7 @@ ssl_get_prev_session(SSL *s, const unsigned char *session_id,
466 break; 466 break;
467 default: 467 default:
468 SSLerror(s, ERR_R_INTERNAL_ERROR); 468 SSLerror(s, ERR_R_INTERNAL_ERROR);
469 fatal = 1;
469 goto err; 470 goto err;
470 } 471 }
471 472