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:04:50 +0000 (21:04 +0000)
Reviewed-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(cherry picked from commit cb62ab4b17818fe66d2fed0a7fe71969131c811b)

crypto/asn1/a_verify.c

index a571009..78dde1d 100644 (file)
@@ -154,7 +154,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;
                }