Don't leak EVP_MD_CTX on error path
[openssl.git] / crypto / evp / m_null.c
index c91f6cbd5aed27fb070c669f910759495a718be0..0fc8c9916e6cb49e71fe994369aff7931075a715 100644 (file)
@@ -1,4 +1,3 @@
-/* crypto/evp/m_null.c */
 /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
  * All rights reserved.
  *
@@ -61,6 +60,7 @@
 #include <openssl/evp.h>
 #include <openssl/objects.h>
 #include <openssl/x509.h>
+#include "internal/evp_int.h"
 
 static int init(EVP_MD_CTX *ctx)
 {