summaryrefslogtreecommitdiff
path: root/lib/libcrypto/gost
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2023-07-28 15:50:34 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2023-07-28 15:50:34 +0000
commitbb81557174d0d226a2b46c3df9c6f52a5bd867d9 (patch)
treec49bd57d5b29b57284be95f6020cbc4d9c44e147 /lib/libcrypto/gost
parentb6fa97e8b8e523701cf2b8b2023e9efce1109c35 (diff)
Stop including ecdsa.h and ecdh.h internally
These headers are now reduced to #include <openssl/ec.h> 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
Diffstat (limited to 'lib/libcrypto/gost')
-rw-r--r--lib/libcrypto/gost/gost_local.h3
-rw-r--r--lib/libcrypto/gost/gostr341001_pmeth.c3
2 files changed, 2 insertions, 4 deletions
diff --git a/lib/libcrypto/gost/gost_local.h b/lib/libcrypto/gost/gost_local.h
index 830f14149e7..db07d06f04a 100644
--- a/lib/libcrypto/gost/gost_local.h
+++ b/lib/libcrypto/gost/gost_local.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: gost_local.h,v 1.2 2022/11/26 17:23:18 tb Exp $ */
+/* $OpenBSD: gost_local.h,v 1.3 2023/07/28 15:50:33 tb Exp $ */
/*
* Copyright (c) 2014 Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
* Copyright (c) 2005-2006 Cryptocom LTD
@@ -53,7 +53,6 @@
#define HEADER_GOST_LOCAL_H
#include <openssl/ec.h>
-#include <openssl/ecdsa.h>
__BEGIN_HIDDEN_DECLS
diff --git a/lib/libcrypto/gost/gostr341001_pmeth.c b/lib/libcrypto/gost/gostr341001_pmeth.c
index 93e4820d7c4..c5e05bec602 100644
--- a/lib/libcrypto/gost/gostr341001_pmeth.c
+++ b/lib/libcrypto/gost/gostr341001_pmeth.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: gostr341001_pmeth.c,v 1.18 2023/07/05 11:37:45 tb Exp $ */
+/* $OpenBSD: gostr341001_pmeth.c,v 1.19 2023/07/28 15:50:33 tb Exp $ */
/*
* Copyright (c) 2014 Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
* Copyright (c) 2005-2006 Cryptocom LTD
@@ -59,7 +59,6 @@
#include <openssl/err.h>
#include <openssl/gost.h>
#include <openssl/ec.h>
-#include <openssl/ecdsa.h>
#include <openssl/x509.h>
#include "ecdsa_local.h"