From 99d5b23023a9190f3cea08713e6ec0c7640e7650 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bodo=20M=C3=B6ller?= Date: Tue, 19 Mar 2002 09:51:31 +0000 Subject: [PATCH] Fix typo. Submitted by: Nils Larsch --- crypto/ecdsa/ecs_asn1.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crypto/ecdsa/ecs_asn1.c b/crypto/ecdsa/ecs_asn1.c index b537de6600..16f49f938b 100644 --- a/crypto/ecdsa/ecs_asn1.c +++ b/crypto/ecdsa/ecs_asn1.c @@ -202,7 +202,7 @@ X9_62_CURVE *ECDSA_get_X9_62_CURVE(const ECDSA *ecdsa, X9_62_CURVE *curve) if (len1 == 0) /* => a == 0 */ { - if (!M_ASN1_OCTET_STRING_set(ret->a, char_buf, 1)) + if (!M_ASN1_OCTET_STRING_set(ret->a, &char_buf, 1)) OPENSSL_ECDSA_ABORT(ERR_R_ASN1_LIB) } else @@ -213,7 +213,7 @@ X9_62_CURVE *ECDSA_get_X9_62_CURVE(const ECDSA *ecdsa, X9_62_CURVE *curve) } if (len2 == 0) /* => b == 0 */ { - if (!M_ASN1_OCTET_STRING_set(ret->a, char_buf, 1)) + if (!M_ASN1_OCTET_STRING_set(ret->a, &char_buf, 1)) OPENSSL_ECDSA_ABORT(ERR_R_ASN1_LIB) } else -- 2.25.1