summaryrefslogtreecommitdiff
path: root/src/lib/libssl/t1_lib.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libssl/t1_lib.c')
-rw-r--r--src/lib/libssl/t1_lib.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/lib/libssl/t1_lib.c b/src/lib/libssl/t1_lib.c
index 3cb2d8a113..092331aae1 100644
--- a/src/lib/libssl/t1_lib.c
+++ b/src/lib/libssl/t1_lib.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: t1_lib.c,v 1.182 2021/07/01 17:53:39 jsing Exp $ */ 1/* $OpenBSD: t1_lib.c,v 1.183 2021/10/25 10:01:46 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 *
@@ -329,8 +329,8 @@ tls1_get_formatlist(SSL *s, int client_formats, const uint8_t **pformats,
329 size_t *pformatslen) 329 size_t *pformatslen)
330{ 330{
331 if (client_formats != 0) { 331 if (client_formats != 0) {
332 *pformats = SSI(s)->tlsext_ecpointformatlist; 332 *pformats = s->session->tlsext_ecpointformatlist;
333 *pformatslen = SSI(s)->tlsext_ecpointformatlist_length; 333 *pformatslen = s->session->tlsext_ecpointformatlist_length;
334 return; 334 return;
335 } 335 }
336 336
@@ -352,8 +352,8 @@ tls1_get_group_list(SSL *s, int client_groups, const uint16_t **pgroups,
352 size_t *pgroupslen) 352 size_t *pgroupslen)
353{ 353{
354 if (client_groups != 0) { 354 if (client_groups != 0) {
355 *pgroups = SSI(s)->tlsext_supportedgroups; 355 *pgroups = s->session->tlsext_supportedgroups;
356 *pgroupslen = SSI(s)->tlsext_supportedgroups_length; 356 *pgroupslen = s->session->tlsext_supportedgroups_length;
357 return; 357 return;
358 } 358 }
359 359