Fix for d2i_ASN1_bytes and stop PKCS#7 routines crashing is signed message
[oweals/openssl.git] / crypto / asn1 / x_sig.c
index f9c2a57c0046d6dc09168536009911f0fea03b21..c2782d1b9c087bc8fdfa049384ba687fe7260907 100644 (file)
 #include <stdio.h>
 #include "cryptlib.h"
 #include <openssl/asn1_mac.h>
-
-/*
- * ASN1err(ASN1_F_D2I_X509_SIG,ERR_R_ASN1_LENGTH_MISMATCH);
- * ASN1err(ASN1_F_X509_SIG_NEW,ERR_R_ASN1_LENGTH_MISMATCH);
- */
+#include <openssl/x509.h>
 
 int i2d_X509_SIG(X509_SIG *a, unsigned char **pp)
        {