summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2024-04-15 15:49:38 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2024-04-15 15:49:38 +0000
commit34d90699ac51e3dee0636c00b43b9ce43f72d550 (patch)
tree709313c420244cc81f4d353167f7f28bfc62cf8a
parent1d90ac41252b2d73e048a1fc0b11b5ac2aa78cf3 (diff)
And here go {,EC}DSA_SIG_it
ok jsing
-rw-r--r--lib/libcrypto/Symbols.list2
-rw-r--r--lib/libcrypto/dsa/dsa_asn1.c4
-rw-r--r--lib/libcrypto/ecdsa/ecdsa.c4
3 files changed, 4 insertions, 6 deletions
diff --git a/lib/libcrypto/Symbols.list b/lib/libcrypto/Symbols.list
index 0a9bf7919b6..0f0d2e74e5c 100644
--- a/lib/libcrypto/Symbols.list
+++ b/lib/libcrypto/Symbols.list
@@ -820,7 +820,6 @@ DSAPublicKey_it
DSA_OpenSSL
DSA_SIG_free
DSA_SIG_get0
-DSA_SIG_it
DSA_SIG_new
DSA_SIG_set0
DSA_bits
@@ -876,7 +875,6 @@ ECDSA_SIG_free
ECDSA_SIG_get0
ECDSA_SIG_get0_r
ECDSA_SIG_get0_s
-ECDSA_SIG_it
ECDSA_SIG_new
ECDSA_SIG_set0
ECDSA_do_sign
diff --git a/lib/libcrypto/dsa/dsa_asn1.c b/lib/libcrypto/dsa/dsa_asn1.c
index 5e4f882cfc1..cdd113a0b32 100644
--- a/lib/libcrypto/dsa/dsa_asn1.c
+++ b/lib/libcrypto/dsa/dsa_asn1.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dsa_asn1.c,v 1.31 2023/07/08 14:28:15 beck Exp $ */
+/* $OpenBSD: dsa_asn1.c,v 1.32 2024/04/15 15:49:37 tb Exp $ */
/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
* project 2000.
*/
@@ -109,7 +109,7 @@ static const ASN1_TEMPLATE DSA_SIG_seq_tt[] = {
},
};
-const ASN1_ITEM DSA_SIG_it = {
+static const ASN1_ITEM DSA_SIG_it = {
.itype = ASN1_ITYPE_SEQUENCE,
.utype = V_ASN1_SEQUENCE,
.templates = DSA_SIG_seq_tt,
diff --git a/lib/libcrypto/ecdsa/ecdsa.c b/lib/libcrypto/ecdsa/ecdsa.c
index 52f5044997b..5abc3586e3f 100644
--- a/lib/libcrypto/ecdsa/ecdsa.c
+++ b/lib/libcrypto/ecdsa/ecdsa.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ecdsa.c,v 1.18 2023/08/08 13:09:28 tb Exp $ */
+/* $OpenBSD: ecdsa.c,v 1.19 2024/04/15 15:49:37 tb Exp $ */
/* ====================================================================
* Copyright (c) 2000-2002 The OpenSSL Project. All rights reserved.
*
@@ -84,7 +84,7 @@ static const ASN1_TEMPLATE ECDSA_SIG_seq_tt[] = {
},
};
-const ASN1_ITEM ECDSA_SIG_it = {
+static const ASN1_ITEM ECDSA_SIG_it = {
.itype = ASN1_ITYPE_SEQUENCE,
.utype = V_ASN1_SEQUENCE,
.templates = ECDSA_SIG_seq_tt,