From dcbbedc9acedb9203cec6f635f57b433f541d560 Mon Sep 17 00:00:00 2001 From: tb <> Date: Sat, 10 May 2025 05:54:39 +0000 Subject: Use err_local.h rather than err.h in most places ok jsing --- src/lib/libcrypto/ec/ec_ameth.c | 4 ++-- src/lib/libcrypto/ec/ec_asn1.c | 4 ++-- src/lib/libcrypto/ec/ec_convert.c | 4 ++-- src/lib/libcrypto/ec/ec_curve.c | 4 ++-- src/lib/libcrypto/ec/ec_key.c | 4 ++-- src/lib/libcrypto/ec/ec_lib.c | 4 ++-- src/lib/libcrypto/ec/ec_mult.c | 4 ++-- src/lib/libcrypto/ec/ec_pmeth.c | 4 ++-- src/lib/libcrypto/ec/eck_prn.c | 4 ++-- src/lib/libcrypto/ec/ecp_methods.c | 4 ++-- src/lib/libcrypto/ec/ecx_methods.c | 4 ++-- 11 files changed, 22 insertions(+), 22 deletions(-) (limited to 'src/lib/libcrypto/ec') diff --git a/src/lib/libcrypto/ec/ec_ameth.c b/src/lib/libcrypto/ec/ec_ameth.c index 903b18a8db..ddc8adea1e 100644 --- a/src/lib/libcrypto/ec/ec_ameth.c +++ b/src/lib/libcrypto/ec/ec_ameth.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ec_ameth.c,v 1.73 2024/11/25 06:51:39 tb Exp $ */ +/* $OpenBSD: ec_ameth.c,v 1.74 2025/05/10 05:54:38 tb Exp $ */ /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL * project 2006. */ @@ -66,7 +66,6 @@ #include #include #include -#include #include #include #include @@ -74,6 +73,7 @@ #include "asn1_local.h" #include "bn_local.h" +#include "err_local.h" #include "evp_local.h" #include "x509_local.h" diff --git a/src/lib/libcrypto/ec/ec_asn1.c b/src/lib/libcrypto/ec/ec_asn1.c index ef318f8d43..35f4f5b0ba 100644 --- a/src/lib/libcrypto/ec/ec_asn1.c +++ b/src/lib/libcrypto/ec/ec_asn1.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ec_asn1.c,v 1.111 2025/03/13 10:31:12 tb Exp $ */ +/* $OpenBSD: ec_asn1.c,v 1.112 2025/05/10 05:54:38 tb Exp $ */ /* * Written by Nils Larsch for the OpenSSL project. */ @@ -66,12 +66,12 @@ #include #include #include -#include #include #include #include "asn1_local.h" #include "ec_local.h" +#include "err_local.h" int EC_GROUP_get_basis_type(const EC_GROUP *group) diff --git a/src/lib/libcrypto/ec/ec_convert.c b/src/lib/libcrypto/ec/ec_convert.c index a18bc49132..84641a4e72 100644 --- a/src/lib/libcrypto/ec/ec_convert.c +++ b/src/lib/libcrypto/ec/ec_convert.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ec_convert.c,v 1.14 2025/01/05 16:07:08 tb Exp $ */ +/* $OpenBSD: ec_convert.c,v 1.15 2025/05/10 05:54:38 tb Exp $ */ /* * Originally written by Bodo Moeller for the OpenSSL project. */ @@ -64,10 +64,10 @@ #include #include -#include #include "asn1_local.h" #include "ec_local.h" +#include "err_local.h" /* * Internal handling of the point conversion octet diff --git a/src/lib/libcrypto/ec/ec_curve.c b/src/lib/libcrypto/ec/ec_curve.c index 6212247ff2..2cfb219b50 100644 --- a/src/lib/libcrypto/ec/ec_curve.c +++ b/src/lib/libcrypto/ec/ec_curve.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ec_curve.c,v 1.57 2025/05/04 05:10:14 tb Exp $ */ +/* $OpenBSD: ec_curve.c,v 1.58 2025/05/10 05:54:38 tb Exp $ */ /* * Written by Nils Larsch for the OpenSSL project. */ @@ -78,10 +78,10 @@ #include #include -#include #include #include "ec_local.h" +#include "err_local.h" static const struct { uint8_t seed[20]; diff --git a/src/lib/libcrypto/ec/ec_key.c b/src/lib/libcrypto/ec/ec_key.c index 6257d67cd1..e9777019c8 100644 --- a/src/lib/libcrypto/ec/ec_key.c +++ b/src/lib/libcrypto/ec/ec_key.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ec_key.c,v 1.51 2025/01/25 10:34:36 tb Exp $ */ +/* $OpenBSD: ec_key.c,v 1.52 2025/05/10 05:54:38 tb Exp $ */ /* * Written by Nils Larsch for the OpenSSL project. */ @@ -66,11 +66,11 @@ #include #include -#include #include "bn_local.h" #include "ec_local.h" #include "ecdsa_local.h" +#include "err_local.h" EC_KEY * EC_KEY_new(void) diff --git a/src/lib/libcrypto/ec/ec_lib.c b/src/lib/libcrypto/ec/ec_lib.c index 7982d23f06..d760ecfb95 100644 --- a/src/lib/libcrypto/ec/ec_lib.c +++ b/src/lib/libcrypto/ec/ec_lib.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ec_lib.c,v 1.123 2025/03/24 13:07:04 jsing Exp $ */ +/* $OpenBSD: ec_lib.c,v 1.124 2025/05/10 05:54:38 tb Exp $ */ /* * Originally written by Bodo Moeller for the OpenSSL project. */ @@ -68,12 +68,12 @@ #include #include -#include #include #include #include "bn_local.h" #include "ec_local.h" +#include "err_local.h" EC_GROUP * EC_GROUP_new(const EC_METHOD *meth) diff --git a/src/lib/libcrypto/ec/ec_mult.c b/src/lib/libcrypto/ec/ec_mult.c index 673696a9fd..d74c89cfe2 100644 --- a/src/lib/libcrypto/ec/ec_mult.c +++ b/src/lib/libcrypto/ec/ec_mult.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ec_mult.c,v 1.58 2025/03/24 13:07:04 jsing Exp $ */ +/* $OpenBSD: ec_mult.c,v 1.59 2025/05/10 05:54:38 tb Exp $ */ /* * Originally written by Bodo Moeller and Nils Larsch for the OpenSSL project. */ @@ -67,9 +67,9 @@ #include #include -#include #include "ec_local.h" +#include "err_local.h" /* Holds the wNAF digits of bn and the corresponding odd multiples of point. */ struct ec_wnaf { diff --git a/src/lib/libcrypto/ec/ec_pmeth.c b/src/lib/libcrypto/ec/ec_pmeth.c index 85ac4822d1..69bf7e741a 100644 --- a/src/lib/libcrypto/ec/ec_pmeth.c +++ b/src/lib/libcrypto/ec/ec_pmeth.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ec_pmeth.c,v 1.26 2025/03/13 10:39:51 tb Exp $ */ +/* $OpenBSD: ec_pmeth.c,v 1.27 2025/05/10 05:54:38 tb Exp $ */ /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL * project 2006. */ @@ -62,12 +62,12 @@ #include #include -#include #include #include #include "bn_local.h" #include "ec_local.h" +#include "err_local.h" #include "evp_local.h" /* EC pkey context structure */ diff --git a/src/lib/libcrypto/ec/eck_prn.c b/src/lib/libcrypto/ec/eck_prn.c index c40a64966a..ed5fdce9c1 100644 --- a/src/lib/libcrypto/ec/eck_prn.c +++ b/src/lib/libcrypto/ec/eck_prn.c @@ -1,4 +1,4 @@ -/* $OpenBSD: eck_prn.c,v 1.41 2025/01/25 10:30:17 tb Exp $ */ +/* $OpenBSD: eck_prn.c,v 1.42 2025/05/10 05:54:38 tb Exp $ */ /* * Written by Nils Larsch for the OpenSSL project. */ @@ -66,12 +66,12 @@ #include #include #include -#include #include #include #include "bn_local.h" #include "ec_local.h" +#include "err_local.h" int EC_KEY_print(BIO *bio, const EC_KEY *ec_key, int off) diff --git a/src/lib/libcrypto/ec/ecp_methods.c b/src/lib/libcrypto/ec/ecp_methods.c index ced85ceb1e..5adc049ab7 100644 --- a/src/lib/libcrypto/ec/ecp_methods.c +++ b/src/lib/libcrypto/ec/ecp_methods.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ecp_methods.c,v 1.45 2025/03/24 13:07:04 jsing Exp $ */ +/* $OpenBSD: ecp_methods.c,v 1.46 2025/05/10 05:54:38 tb Exp $ */ /* Includes code written by Lenka Fibikova * for the OpenSSL project. * Includes code written by Bodo Moeller for the OpenSSL project. @@ -66,11 +66,11 @@ #include #include -#include #include #include "bn_local.h" #include "ec_local.h" +#include "err_local.h" /* * Most method functions in this file are designed to work with non-trivial diff --git a/src/lib/libcrypto/ec/ecx_methods.c b/src/lib/libcrypto/ec/ecx_methods.c index 6b5759d4fa..b08456d03b 100644 --- a/src/lib/libcrypto/ec/ecx_methods.c +++ b/src/lib/libcrypto/ec/ecx_methods.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ecx_methods.c,v 1.14 2024/08/28 07:15:04 tb Exp $ */ +/* $OpenBSD: ecx_methods.c,v 1.15 2025/05/10 05:54:38 tb Exp $ */ /* * Copyright (c) 2022 Joel Sing * @@ -20,13 +20,13 @@ #include #include #include -#include #include #include #include "asn1_local.h" #include "bytestring.h" #include "curve25519_internal.h" +#include "err_local.h" #include "evp_local.h" #include "x509_local.h" -- cgit v1.2.3-55-g6feb