Use basename of objxref.pl not whole path in generated header.
[oweals/openssl.git] / crypto / pkcs7 / pk7_lib.c
index dd321c503abb7b563510717f78276538f2323cfd..3ca0952792a3d4f3bb1bfabfc9102e04842719fb 100644 (file)
@@ -350,7 +350,7 @@ int PKCS7_add_crl(PKCS7 *p7, X509_CRL *crl)
                *sk=sk_X509_CRL_new_null();
        if (*sk == NULL)
                {
-               PKCS7err(PKCS7_F_PKCS7_ADD_CERTIFICATE,ERR_R_MALLOC_FAILURE);
+               PKCS7err(PKCS7_F_PKCS7_ADD_CRL,ERR_R_MALLOC_FAILURE);
                return 0;
                }
 
@@ -665,8 +665,3 @@ int PKCS7_stream(unsigned char ***boundary, PKCS7 *p7)
 
        return 1;
        }
-
-
-
-
-