diff options
| author | tb <> | 2022-08-17 18:42:13 +0000 |
|---|---|---|
| committer | tb <> | 2022-08-17 18:42:13 +0000 |
| commit | 5deec63e0b0b6bf0f0996a64ff7082b3c39bb764 (patch) | |
| tree | ecac74ec4fb5a8906c12024a60b9e34ede5f6325 /src/lib/libssl/t1_lib.c | |
| parent | 67d1268520f048f726db1405c371a8462036f2a0 (diff) | |
| download | openbsd-5deec63e0b0b6bf0f0996a64ff7082b3c39bb764.tar.gz openbsd-5deec63e0b0b6bf0f0996a64ff7082b3c39bb764.tar.bz2 openbsd-5deec63e0b0b6bf0f0996a64ff7082b3c39bb764.zip | |
Make tls1_get_{format,group_}list() take a const SSL
ok jsing
Diffstat (limited to '')
| -rw-r--r-- | src/lib/libssl/t1_lib.c | 6 |
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 | */ |
| 397 | void | 397 | void |
| 398 | tls1_get_formatlist(SSL *s, int client_formats, const uint8_t **pformats, | 398 | tls1_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 | */ |
| 420 | void | 420 | void |
| 421 | tls1_get_group_list(SSL *s, int client_groups, const uint16_t **pgroups, | 421 | tls1_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) { |
