summaryrefslogtreecommitdiff
path: root/src/lib/libssl/t1_lib.c
diff options
context:
space:
mode:
authortb <>2022-08-17 18:42:13 +0000
committertb <>2022-08-17 18:42:13 +0000
commit3b24f4e297f55d1eb2e648159655e668002be974 (patch)
treeecac74ec4fb5a8906c12024a60b9e34ede5f6325 /src/lib/libssl/t1_lib.c
parent697e13a205ea92565c0fbffa157d3c307f43dfaf (diff)
downloadopenbsd-3b24f4e297f55d1eb2e648159655e668002be974.tar.gz
openbsd-3b24f4e297f55d1eb2e648159655e668002be974.tar.bz2
openbsd-3b24f4e297f55d1eb2e648159655e668002be974.zip
Make tls1_get_{format,group_}list() take a const SSL
ok jsing
Diffstat (limited to 'src/lib/libssl/t1_lib.c')
-rw-r--r--src/lib/libssl/t1_lib.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libssl/t1_lib.c b/src/lib/libssl/t1_lib.c
index 5a1749c863..049a55288d 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.193 2022/07/03 08:15:52 tb Exp $ */ 1/* $OpenBSD: t1_lib.c,v 1.194 2022/08/17 18:42:13 tb 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 *
@@ -395,7 +395,7 @@ tls1_ec_nid2group_id(int nid, uint16_t *out_group_id)
395 * exists, or the default formats if a custom list has not been specified. 395 * exists, or the default formats if a custom list has not been specified.
396 */ 396 */
397void 397void
398tls1_get_formatlist(SSL *s, int client_formats, const uint8_t **pformats, 398tls1_get_formatlist(const SSL *s, int client_formats, const uint8_t **pformats,
399 size_t *pformatslen) 399 size_t *pformatslen)
400{ 400{
401 if (client_formats != 0) { 401 if (client_formats != 0) {
@@ -418,7 +418,7 @@ tls1_get_formatlist(SSL *s, int client_formats, const uint8_t **pformats,
418 * exists, or the default groups if a custom list has not been specified. 418 * exists, or the default groups if a custom list has not been specified.
419 */ 419 */
420void 420void
421tls1_get_group_list(SSL *s, int client_groups, const uint16_t **pgroups, 421tls1_get_group_list(const SSL *s, int client_groups, const uint16_t **pgroups,
422 size_t *pgroupslen) 422 size_t *pgroupslen)
423{ 423{
424 if (client_groups != 0) { 424 if (client_groups != 0) {