Fix dynamic public key method lookup.
[openssl.git] / crypto / asn1 / a_dup.c
index 09f5f7ad89f2297cfb5d5a31af26be496feb4b85..199d50f521cdd34553b4b1817b598d17b6143276 100644 (file)
@@ -101,7 +101,7 @@ void *ASN1_item_dup(const ASN1_ITEM *it, void *x)
 
        i=ASN1_item_i2d(x,&b,it);
        if (b == NULL)
-               { ASN1err(ASN1_F_ASN1_DUP,ERR_R_MALLOC_FAILURE); return(NULL); }
+               { ASN1err(ASN1_F_ASN1_ITEM_DUP,ERR_R_MALLOC_FAILURE); return(NULL); }
        p= b;
        ret=ASN1_item_d2i(NULL,&p,i, it);
        OPENSSL_free(b);