summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/ec/ec_local.h
diff options
context:
space:
mode:
authortb <>2024-11-22 12:14:41 +0000
committertb <>2024-11-22 12:14:41 +0000
commitaa15470973d1fcdb50d16c63b9cff3c9367ce30c (patch)
tree4564b7acb4d64256f7bba342c754cef2fb6a5c02 /src/lib/libcrypto/ec/ec_local.h
parentcf63b745b2a0b54ab2a49b3856dcbd7bb23ebd02 (diff)
downloadopenbsd-aa15470973d1fcdb50d16c63b9cff3c9367ce30c.tar.gz
openbsd-aa15470973d1fcdb50d16c63b9cff3c9367ce30c.tar.bz2
openbsd-aa15470973d1fcdb50d16c63b9cff3c9367ce30c.zip
Rename curve_name into nid
This used to be the case until they were given a 'more meaningful name' about 20 years ago. We cant fix the public API, but I'm tired of being confused by this nonsense.
Diffstat (limited to 'src/lib/libcrypto/ec/ec_local.h')
-rw-r--r--src/lib/libcrypto/ec/ec_local.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/ec/ec_local.h b/src/lib/libcrypto/ec/ec_local.h
index db8d4ab28f..5d1909db03 100644
--- a/src/lib/libcrypto/ec/ec_local.h
+++ b/src/lib/libcrypto/ec/ec_local.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: ec_local.h,v 1.38 2024/11/16 15:32:08 tb Exp $ */ 1/* $OpenBSD: ec_local.h,v 1.39 2024/11/22 12:14:41 tb Exp $ */
2/* 2/*
3 * Originally written by Bodo Moeller for the OpenSSL project. 3 * Originally written by Bodo Moeller for the OpenSSL project.
4 */ 4 */
@@ -175,7 +175,7 @@ struct ec_group_st {
175 BIGNUM order; 175 BIGNUM order;
176 BIGNUM cofactor; 176 BIGNUM cofactor;
177 177
178 int curve_name; /* Optional NID for named curve. */ 178 int nid; /* Optional NID for named curve. */
179 179
180 /* ASN.1 encoding controls. */ 180 /* ASN.1 encoding controls. */
181 int asn1_flag; 181 int asn1_flag;