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:05:22 +0000 (21:05 +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 3ef363d7604df24589b6cc8c7c1f600fba01257c..a04aa8b339f8b8025df66c0313f31214f0689d18 100644 (file)
@@ -152,7 +152,7 @@ int ASN1_item_verify(const ASN1_ITEM *it, X509_ALGOR *a, ASN1_BIT_STRING *signat
 
        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;
                }