From 331adf0c11cff6196084054a5cad51934b3f4395 Mon Sep 17 00:00:00 2001 From: Jin Jiu Date: Sat, 30 Sep 2023 21:44:37 +0800 Subject: [PATCH] Fixed the compilation issue of Speed Test. --- crypto/ec/ec_elgamal_encode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crypto/ec/ec_elgamal_encode.c b/crypto/ec/ec_elgamal_encode.c index 1a07880b1..b616521ff 100644 --- a/crypto/ec/ec_elgamal_encode.c +++ b/crypto/ec/ec_elgamal_encode.c @@ -492,7 +492,7 @@ size_t EC_ELGAMAL_MR_CIPHERTEXT_encode(EC_ELGAMAL_MR_CTX *ctx, unsigned char *ou int EC_ELGAMAL_MR_CIPHERTEXT_decode(EC_ELGAMAL_MR_CTX *ctx, EC_ELGAMAL_MR_CIPHERTEXT *r, unsigned char *in, size_t size) { - int ret = 0, len; + int ret = 0, len = 0; size_t point_len; unsigned char *p = in, zero[128]; BN_CTX *bn_ctx = NULL;