From 913b5a72ac769d39b1dfbd255342b5cd6016046e Mon Sep 17 00:00:00 2001 From: tb Date: Wed, 5 Jul 2023 11:28:50 +0000 Subject: [PATCH] Make variables in prototypes match function declarations --- lib/libcrypto/ecdsa/ecs_local.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/libcrypto/ecdsa/ecs_local.h b/lib/libcrypto/ecdsa/ecs_local.h index 4f1140483fc..295c4756aed 100644 --- a/lib/libcrypto/ecdsa/ecs_local.h +++ b/lib/libcrypto/ecdsa/ecs_local.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ecs_local.h,v 1.4 2023/07/05 08:39:40 tb Exp $ */ +/* $OpenBSD: ecs_local.h,v 1.5 2023/07/05 11:28:50 tb Exp $ */ /* * Written by Nils Larsch for the OpenSSL project */ @@ -68,12 +68,12 @@ struct ECDSA_SIG_st { BIGNUM *s; }; -int ecdsa_sign_setup(EC_KEY *eckey, BN_CTX *ctx_in, BIGNUM **kinvp, - BIGNUM **rp); -int ecdsa_sign(int type, const unsigned char *dgst, int dlen, - unsigned char *sig, unsigned int *siglen, const BIGNUM *kinv, +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, + unsigned char *signature, unsigned int *signature_len, const BIGNUM *kinv, const BIGNUM *r, EC_KEY *eckey); -ECDSA_SIG *ecdsa_sign_sig(const unsigned char *dgst, int dgst_len, +ECDSA_SIG *ecdsa_sign_sig(const unsigned char *digest, int digest_len, const BIGNUM *in_kinv, const BIGNUM *in_r, EC_KEY *eckey); __END_HIDDEN_DECLS -- 2.20.1