From ec0894d4cccd2b2d88759796071c3ed1afd3a475 Mon Sep 17 00:00:00 2001 From: tb <> Date: Mon, 16 Mar 2026 22:19:32 +0000 Subject: Move ECDSA_SIG_st definition to its only consumer, ecdsa.c --- src/lib/libcrypto/ecdsa/ecdsa.c | 7 ++++++- src/lib/libcrypto/ecdsa/ecdsa_local.h | 7 +------ 2 files changed, 7 insertions(+), 7 deletions(-) (limited to 'src') diff --git a/src/lib/libcrypto/ecdsa/ecdsa.c b/src/lib/libcrypto/ecdsa/ecdsa.c index 4e00eb5ec8..1be139a695 100644 --- a/src/lib/libcrypto/ecdsa/ecdsa.c +++ b/src/lib/libcrypto/ecdsa/ecdsa.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ecdsa.c,v 1.20 2025/05/10 05:54:38 tb Exp $ */ +/* $OpenBSD: ecdsa.c,v 1.21 2026/03/16 22:19:32 tb Exp $ */ /* ==================================================================== * Copyright (c) 2000-2002 The OpenSSL Project. All rights reserved. * @@ -67,6 +67,11 @@ #include "ecdsa_local.h" #include "err_local.h" +struct ECDSA_SIG_st { + BIGNUM *r; + BIGNUM *s; +}; + static const ASN1_TEMPLATE ECDSA_SIG_seq_tt[] = { { .flags = 0, diff --git a/src/lib/libcrypto/ecdsa/ecdsa_local.h b/src/lib/libcrypto/ecdsa/ecdsa_local.h index cc3af3e10f..f254d39323 100644 --- a/src/lib/libcrypto/ecdsa/ecdsa_local.h +++ b/src/lib/libcrypto/ecdsa/ecdsa_local.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ecdsa_local.h,v 1.2 2023/07/28 15:50:33 tb Exp $ */ +/* $OpenBSD: ecdsa_local.h,v 1.3 2026/03/16 22:19:32 tb Exp $ */ /* * Written by Nils Larsch for the OpenSSL project */ @@ -63,11 +63,6 @@ __BEGIN_HIDDEN_DECLS -struct ECDSA_SIG_st { - BIGNUM *r; - BIGNUM *s; -}; - int ecdsa_sign_setup(EC_KEY *eckey, BN_CTX *in_ctx, BIGNUM **out_kinv, BIGNUM **out_r); int ecdsa_sign(int type, const unsigned char *digest, int digest_len, -- cgit v1.2.3-55-g6feb