Skip to content

Commit cb62ab4

Browse files
committed
use correct function name
Reviewed-by: Rich Salz <rsalz@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org>
1 parent 77ff1f3 commit cb62ab4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: crypto/asn1/a_verify.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ int ASN1_item_verify(const ASN1_ITEM *it, X509_ALGOR *a,
158158

159159
if (signature->type == V_ASN1_BIT_STRING && signature->flags & 0x7)
160160
{
161-
ASN1err(ASN1_F_ASN1_VERIFY, ASN1_R_INVALID_BIT_STRING_BITS_LEFT);
161+
ASN1err(ASN1_F_ASN1_ITEM_VERIFY, ASN1_R_INVALID_BIT_STRING_BITS_LEFT);
162162
return -1;
163163
}
164164

0 commit comments

Comments
 (0)