mirror of
https://github.com/openssl/openssl.git
synced 2024-11-27 05:21:51 +08:00
Fix typo.
Submitted by: Nils Larsch
This commit is contained in:
parent
611ba3f4a1
commit
99d5b23023
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user