summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/ec
diff options
context:
space:
mode:
authortb <>2023-07-28 15:50:33 +0000
committertb <>2023-07-28 15:50:33 +0000
commit0a9b2eebd959bd9a2fe64f36f8389266a7c0b88b (patch)
tree919fa2c577092b41cb1ba147c14b98991a0eacca /src/lib/libcrypto/ec
parentb5b5f9335614fcce5146d82ce069cfb3d23cc5a8 (diff)
downloadopenbsd-0a9b2eebd959bd9a2fe64f36f8389266a7c0b88b.tar.gz
openbsd-0a9b2eebd959bd9a2fe64f36f8389266a7c0b88b.tar.bz2
openbsd-0a9b2eebd959bd9a2fe64f36f8389266a7c0b88b.zip
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 'src/lib/libcrypto/ec')
-rw-r--r--src/lib/libcrypto/ec/ec_local.h3
-rw-r--r--src/lib/libcrypto/ec/ec_pmeth.c3
2 files changed, 2 insertions, 4 deletions
diff --git a/src/lib/libcrypto/ec/ec_local.h b/src/lib/libcrypto/ec/ec_local.h
index 8153d4a96a..3252eeb1c8 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.25 2023/07/28 09:28:37 tb Exp $ */ 1/* $OpenBSD: ec_local.h,v 1.26 2023/07/28 15:50:33 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 */
@@ -73,7 +73,6 @@
73 73
74#include <openssl/bn.h> 74#include <openssl/bn.h>
75#include <openssl/ec.h> 75#include <openssl/ec.h>
76#include <openssl/ecdsa.h>
77#include <openssl/objects.h> 76#include <openssl/objects.h>
78 77
79#include "bn_local.h" 78#include "bn_local.h"
diff --git a/src/lib/libcrypto/ec/ec_pmeth.c b/src/lib/libcrypto/ec/ec_pmeth.c
index 7c94f80c7f..d3bf7e8cdc 100644
--- a/src/lib/libcrypto/ec/ec_pmeth.c
+++ b/src/lib/libcrypto/ec/ec_pmeth.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ec_pmeth.c,v 1.18 2023/06/25 19:26:04 tb Exp $ */ 1/* $OpenBSD: ec_pmeth.c,v 1.19 2023/07/28 15:50:33 tb Exp $ */
2/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL 2/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
3 * project 2006. 3 * project 2006.
4 */ 4 */
@@ -61,7 +61,6 @@
61 61
62#include <openssl/asn1t.h> 62#include <openssl/asn1t.h>
63#include <openssl/ec.h> 63#include <openssl/ec.h>
64#include <openssl/ecdsa.h>
65#include <openssl/err.h> 64#include <openssl/err.h>
66#include <openssl/evp.h> 65#include <openssl/evp.h>
67#include <openssl/x509.h> 66#include <openssl/x509.h>