diff options
author | Bodo Möller <bodo@openssl.org> | 2002-03-19 10:51:31 +0100 |
---|---|---|
committer | Bodo Möller <bodo@openssl.org> | 2002-03-19 10:51:31 +0100 |
commit | 99d5b23023a9190f3cea08713e6ec0c7640e7650 (patch) | |
tree | 022794943fd99c3d4b9d994ae5cd2efe2e07982d /crypto/ecdsa/ecs_asn1.c | |
parent | Initialize ciph_ctx in kssl.c (diff) | |
download | openssl-99d5b23023a9190f3cea08713e6ec0c7640e7650.tar.xz openssl-99d5b23023a9190f3cea08713e6ec0c7640e7650.zip |
Fix typo.
Submitted by: Nils Larsch
Diffstat (limited to 'crypto/ecdsa/ecs_asn1.c')
-rw-r--r-- | crypto/ecdsa/ecs_asn1.c | 4 |
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 |