summaryrefslogtreecommitdiff
path: root/src/lib/libssl
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libssl')
-rw-r--r--src/lib/libssl/ssl_sess.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libssl/ssl_sess.c b/src/lib/libssl/ssl_sess.c
index 746d8aeec3..1abefd5211 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.82 2019/03/24 06:23:50 deraadt Exp $ */ 1/* $OpenBSD: ssl_sess.c,v 1.83 2019/04/01 06:43:53 deraadt 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 *
@@ -465,8 +465,8 @@ ssl_get_prev_session(SSL *s, const unsigned char *session_id,
465 try_session_cache = 0; 465 try_session_cache = 0;
466 break; 466 break;
467 default: 467 default:
468 OPENSSL_assert("aborting; unreasonable ticket"); 468 SSLerror(s, ERR_R_INTERNAL_ERROR);
469 _exit(1); 469 goto err;
470 } 470 }
471 471
472 if (try_session_cache && ret == NULL && 472 if (try_session_cache && ret == NULL &&