File no-md2.patch of Package nmap

Index: nmap-5.00/nse_openssl.cc
===================================================================
--- nmap-5.00.orig/nse_openssl.cc
+++ nmap-5.00/nse_openssl.cc
@@ -8,7 +8,6 @@
 #include <openssl/crypto.h>
 #include <openssl/bn.h>
 #include <openssl/rand.h>
-#include <openssl/md2.h>
 #include <openssl/md4.h>
 #include <openssl/md5.h>
 #include <openssl/sha.h>
@@ -208,12 +207,7 @@ static int l_rand_pseudo_bytes( lua_Stat
 
 static int l_md2(lua_State *L)     /** md2(string s) */
 {
-  size_t len;
-  const unsigned char *s = (unsigned char *) luaL_checklstring( L, 1, &len );
-  unsigned char digest[16];
- 
-  lua_pushlstring( L, (char *) MD2( s, len, digest ), 16 );
-  return 1;
+  return luaL_error (L, "'md2' no longer supported as hash algorithm due to being insecure");
 }
 
 static int l_md4(lua_State *L)     /** md4(string s) */