summaryrefslogtreecommitdiffstats
path: root/crypto/ecdsa/ecs_asn1.c
diff options
context:
space:
mode:
authorBodo Möller <bodo@openssl.org>2002-03-19 09:51:31 +0000
committerBodo Möller <bodo@openssl.org>2002-03-19 09:51:31 +0000
commit99d5b23023a9190f3cea08713e6ec0c7640e7650 (patch)
tree022794943fd99c3d4b9d994ae5cd2efe2e07982d /crypto/ecdsa/ecs_asn1.c
parent611ba3f4a1e2e7c418c102e286faacffef7783ec (diff)
Fix typo.
Submitted by: Nils Larsch
Diffstat (limited to 'crypto/ecdsa/ecs_asn1.c')
-rw-r--r--crypto/ecdsa/ecs_asn1.c4
1 files 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