summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authortb <>2025-01-18 13:26:51 +0000
committertb <>2025-01-18 13:26:51 +0000
commitf5e0c82260141013166e5f04eff3371c86297eb2 (patch)
tree909c92f1b99f50fb8648ca4135d4c9a34869b860 /src
parentb52b7bba09c5ad77087fe9131881d44182fb37b7 (diff)
downloadopenbsd-f5e0c82260141013166e5f04eff3371c86297eb2.tar.gz
openbsd-f5e0c82260141013166e5f04eff3371c86297eb2.tar.bz2
openbsd-f5e0c82260141013166e5f04eff3371c86297eb2.zip
Rename grp to group like almost everywhere else
Diffstat (limited to 'src')
-rw-r--r--src/lib/libssl/t1_lib.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/libssl/t1_lib.c b/src/lib/libssl/t1_lib.c
index de4cbaa932..5bbabb48b5 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.202 2025/01/18 13:15:31 tb Exp $ */ 1/* $OpenBSD: t1_lib.c,v 1.203 2025/01/18 13:26:51 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 *
@@ -628,14 +628,14 @@ tls1_check_group(SSL *s, uint16_t group_id)
628static int 628static int
629tls1_set_ec_id(uint16_t *group_id, uint8_t *comp_id, EC_KEY *ec) 629tls1_set_ec_id(uint16_t *group_id, uint8_t *comp_id, EC_KEY *ec)
630{ 630{
631 const EC_GROUP *grp; 631 const EC_GROUP *group;
632 int nid; 632 int nid;
633 633
634 if ((grp = EC_KEY_get0_group(ec)) == NULL) 634 if ((group = EC_KEY_get0_group(ec)) == NULL)
635 return 0; 635 return 0;
636 636
637 /* Determine group ID. */ 637 /* Determine group ID. */
638 nid = EC_GROUP_get_curve_name(grp); 638 nid = EC_GROUP_get_curve_name(group);
639 if (!tls1_ec_nid2group_id(nid, group_id)) 639 if (!tls1_ec_nid2group_id(nid, group_id))
640 return 0; 640 return 0;
641 641