We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ca60217 commit 9ec68d9Copy full SHA for 9ec68d9
src/lib/libssl/ssl_pkt.c
@@ -1,4 +1,4 @@
1
-/* $OpenBSD: ssl_pkt.c,v 1.47 2021/07/31 09:31:04 jsing Exp $ */
+/* $OpenBSD: ssl_pkt.c,v 1.48 2021/08/04 12:41:25 jsing Exp $ */
2
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3
* All rights reserved.
4
*
@@ -1204,7 +1204,7 @@ int
1204
ssl3_send_alert(SSL *s, int level, int desc)
1205
{
1206
/* If a fatal one, remove from cache */
1207
- if ((level == SSL3_AL_FATAL) && (s->session != NULL))
+ if (level == SSL3_AL_FATAL)
1208
SSL_CTX_remove_session(s->ctx, s->session);
1209
1210
S3I(s)->alert_dispatch = 1;
0 commit comments