use correct function name
authorDr. Stephen Henson <steve@openssl.org>
Tue, 6 Jan 2015 20:55:38 +0000 (20:55 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Tue, 6 Jan 2015 21:03:50 +0000 (21:03 +0000)
Reviewed-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
crypto/asn1/a_verify.c

index fdeeef6761e65fdd2b3c28deea66a52f4233354d..e85d4d2b7764c17e1f9629413a72b29e86cfe500 100644 (file)
@@ -158,7 +158,7 @@ int ASN1_item_verify(const ASN1_ITEM *it, X509_ALGOR *a,
 
        if (signature->type == V_ASN1_BIT_STRING && signature->flags & 0x7)
                {
-               ASN1err(ASN1_F_ASN1_VERIFY, ASN1_R_INVALID_BIT_STRING_BITS_LEFT);
+               ASN1err(ASN1_F_ASN1_ITEM_VERIFY, ASN1_R_INVALID_BIT_STRING_BITS_LEFT);
                return -1;
                }