Fix for d2i_ASN1_bytes and stop PKCS#7 routines crashing is signed message
[oweals/openssl.git] / crypto / asn1 / d2i_dhp.c
index a0f514dc7e1e1649a5f8824fbc4daf1a8ea5a4e2..a077211a4c190c6a7b5a415f2f0d3080409ec141 100644 (file)
@@ -56,6 +56,7 @@
  * [including the GNU Public Licence.]
  */
 
+#ifndef NO_DH
 #include <stdio.h>
 #include "cryptlib.h"
 #include <openssl/bn.h>
@@ -97,4 +98,4 @@ err:
        if (bs != NULL) ASN1_BIT_STRING_free(bs);
        return(NULL);
        }
-
+#endif