Skip to content

Commit 178c562

Browse files
committed
use correct function name
Reviewed-by: Rich Salz <rsalz@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org> (cherry picked from commit cb62ab4)
1 parent 61052e8 commit 178c562

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crypto/asn1/a_verify.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ int ASN1_item_verify(const ASN1_ITEM *it, X509_ALGOR *a,
154154

155155
if (signature->type == V_ASN1_BIT_STRING && signature->flags & 0x7)
156156
{
157-
ASN1err(ASN1_F_ASN1_VERIFY, ASN1_R_INVALID_BIT_STRING_BITS_LEFT);
157+
ASN1err(ASN1_F_ASN1_ITEM_VERIFY, ASN1_R_INVALID_BIT_STRING_BITS_LEFT);
158158
return -1;
159159
}
160160

0 commit comments

Comments
 (0)