From 0c60ceb5e7817ec3891fbdd1edc33cafaaa6df80 Mon Sep 17 00:00:00 2001 From: tb Date: Thu, 18 Aug 2022 07:00:59 +0000 Subject: [PATCH] Tweak prototype to match function definition (n -> index) --- lib/libssl/ssl_locl.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/libssl/ssl_locl.h b/lib/libssl/ssl_locl.h index 35fa4c693cb..6a4f14d2811 100644 --- a/lib/libssl/ssl_locl.h +++ b/lib/libssl/ssl_locl.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ssl_locl.h,v 1.421 2022/08/17 18:45:25 tb Exp $ */ +/* $OpenBSD: ssl_locl.h,v 1.422 2022/08/18 07:00:59 tb Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -1528,7 +1528,7 @@ int tls1_ec_group_id2bits(uint16_t group_id, int *out_bits); int tls1_ec_nid2group_id(int nid, uint16_t *out_group_id); int tls1_check_group(SSL *s, uint16_t group_id); int tls1_count_shared_groups(const SSL *ssl, size_t *out_count); -int tls1_get_shared_group_by_index(const SSL *ssl, size_t n, int *out_nid); +int tls1_get_shared_group_by_index(const SSL *ssl, size_t index, int *out_nid); int tls1_get_supported_group(const SSL *s, int *out_nid); int ssl_check_clienthello_tlsext_early(SSL *s); -- 2.20.1