Wrap the inclusion of openssl/engine.h with a protective check for
[oweals/openssl.git] / crypto / x509 / x509_att.c
index 0bae3d32a1a5ffd4e7ce140f2dd3e404c6000b55..bd1fdec2075c4c34cd06a5229a0a3229b91cfe58 100644 (file)
@@ -141,7 +141,7 @@ STACK_OF(X509_ATTRIBUTE) *X509at_add1_attr(STACK_OF(X509_ATTRIBUTE) **x,
                *x=sk;
        return(sk);
 err:
-       X509err(X509_F_X509_ADD_ATTR,ERR_R_MALLOC_FAILURE);
+       X509err(X509_F_X509AT_ADD1_ATTR,ERR_R_MALLOC_FAILURE);
 err2:
        if (new_attr != NULL) X509_ATTRIBUTE_free(new_attr);
        if (sk != NULL) sk_X509_ATTRIBUTE_free(sk);