From dee6ca6302cdbd5982c40288832f1fbe51d045d5 Mon Sep 17 00:00:00 2001 From: tb <> Date: Fri, 28 Jul 2023 15:50:33 +0000 Subject: Stop including ecdsa.h and ecdh.h internally These headers are now reduced to #include and are provided for compatiblity only. There's no point in using them. At the same time garbage collect the last uses of OPENSSL_NO_{ECDSA,ECDH} in our tree. ok jsing --- src/lib/libcrypto/sm2/sm2.h | 3 +-- src/lib/libcrypto/sm2/sm2_local.h | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) (limited to 'src/lib/libcrypto/sm2') diff --git a/src/lib/libcrypto/sm2/sm2.h b/src/lib/libcrypto/sm2/sm2.h index dee75eb68b..2f14fe666e 100644 --- a/src/lib/libcrypto/sm2/sm2.h +++ b/src/lib/libcrypto/sm2/sm2.h @@ -1,4 +1,4 @@ -/* $OpenBSD: sm2.h,v 1.2 2022/07/12 14:42:50 kn Exp $ */ +/* $OpenBSD: sm2.h,v 1.3 2023/07/28 15:50:33 tb Exp $ */ /* * Copyright (c) 2017, 2019 Ribose Inc * @@ -21,7 +21,6 @@ #include #include -#include #ifdef OPENSSL_NO_SM2 #error SM2 is disabled. diff --git a/src/lib/libcrypto/sm2/sm2_local.h b/src/lib/libcrypto/sm2/sm2_local.h index ad97f2c771..388c468ef2 100644 --- a/src/lib/libcrypto/sm2/sm2_local.h +++ b/src/lib/libcrypto/sm2/sm2_local.h @@ -1,4 +1,4 @@ -/* $OpenBSD: sm2_local.h,v 1.2 2022/11/26 17:23:18 tb Exp $ */ +/* $OpenBSD: sm2_local.h,v 1.3 2023/07/28 15:50:33 tb Exp $ */ /* * Copyright (c) 2017, 2019 Ribose Inc * @@ -19,7 +19,6 @@ #define HEADER_SM2_LOCAL_H #include -#include __BEGIN_HIDDEN_DECLS -- cgit v1.2.3-55-g6feb