Fix for d2i_ASN1_bytes and stop PKCS#7 routines crashing is signed message
[oweals/openssl.git] / crypto / asn1 / x_exten.c
index f6124bbb8e7ce46aea17898f3aec2176c190e815..d5f9e1df9e0e3e55921b31fd0f25e39c80c42588 100644 (file)
 #include "cryptlib.h"
 #include <openssl/objects.h>
 #include <openssl/asn1_mac.h>
-
-/*
- * ASN1err(ASN1_F_D2I_X509_EXTENSION,ERR_R_ASN1_LENGTH_MISMATCH);
- * ASN1err(ASN1_F_X509_EXTENSION_NEW,ERR_R_ASN1_LENGTH_MISMATCH);
- */
+#include <openssl/x509.h>
 
 int i2d_X509_EXTENSION(X509_EXTENSION *a, unsigned char **pp)
        {