summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/gost
diff options
context:
space:
mode:
authortb <>2023-07-28 15:50:33 +0000
committertb <>2023-07-28 15:50:33 +0000
commitdee6ca6302cdbd5982c40288832f1fbe51d045d5 (patch)
tree919fa2c577092b41cb1ba147c14b98991a0eacca /src/lib/libcrypto/gost
parenta65012e9329b7bde2223964c16b2a59e310f44b5 (diff)
downloadopenbsd-dee6ca6302cdbd5982c40288832f1fbe51d045d5.tar.gz
openbsd-dee6ca6302cdbd5982c40288832f1fbe51d045d5.tar.bz2
openbsd-dee6ca6302cdbd5982c40288832f1fbe51d045d5.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/gost')
-rw-r--r--src/lib/libcrypto/gost/gost_local.h3
-rw-r--r--src/lib/libcrypto/gost/gostr341001_pmeth.c3
2 files changed, 2 insertions, 4 deletions
diff --git a/src/lib/libcrypto/gost/gost_local.h b/src/lib/libcrypto/gost/gost_local.h
index 830f14149e..db07d06f04 100644
--- a/src/lib/libcrypto/gost/gost_local.h
+++ b/src/lib/libcrypto/gost/gost_local.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: gost_local.h,v 1.2 2022/11/26 17:23:18 tb Exp $ */ 1/* $OpenBSD: gost_local.h,v 1.3 2023/07/28 15:50:33 tb Exp $ */
2/* 2/*
3 * Copyright (c) 2014 Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> 3 * Copyright (c) 2014 Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
4 * Copyright (c) 2005-2006 Cryptocom LTD 4 * Copyright (c) 2005-2006 Cryptocom LTD
@@ -53,7 +53,6 @@
53#define HEADER_GOST_LOCAL_H 53#define HEADER_GOST_LOCAL_H
54 54
55#include <openssl/ec.h> 55#include <openssl/ec.h>
56#include <openssl/ecdsa.h>
57 56
58__BEGIN_HIDDEN_DECLS 57__BEGIN_HIDDEN_DECLS
59 58
diff --git a/src/lib/libcrypto/gost/gostr341001_pmeth.c b/src/lib/libcrypto/gost/gostr341001_pmeth.c
index 93e4820d7c..c5e05bec60 100644
--- a/src/lib/libcrypto/gost/gostr341001_pmeth.c
+++ b/src/lib/libcrypto/gost/gostr341001_pmeth.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: gostr341001_pmeth.c,v 1.18 2023/07/05 11:37:45 tb Exp $ */ 1/* $OpenBSD: gostr341001_pmeth.c,v 1.19 2023/07/28 15:50:33 tb Exp $ */
2/* 2/*
3 * Copyright (c) 2014 Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> 3 * Copyright (c) 2014 Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
4 * Copyright (c) 2005-2006 Cryptocom LTD 4 * Copyright (c) 2005-2006 Cryptocom LTD
@@ -59,7 +59,6 @@
59#include <openssl/err.h> 59#include <openssl/err.h>
60#include <openssl/gost.h> 60#include <openssl/gost.h>
61#include <openssl/ec.h> 61#include <openssl/ec.h>
62#include <openssl/ecdsa.h>
63#include <openssl/x509.h> 62#include <openssl/x509.h>
64 63
65#include "ecdsa_local.h" 64#include "ecdsa_local.h"