]> TLD Linux GIT Repositories - packages/vsftpd.git/blobdiff - vsftpd-switch_sha256_to_sha1.patch
- migrated config to /etc/vsftpd, cleanup
[packages/vsftpd.git] / vsftpd-switch_sha256_to_sha1.patch
diff --git a/vsftpd-switch_sha256_to_sha1.patch b/vsftpd-switch_sha256_to_sha1.patch
deleted file mode 100644 (file)
index c9dddfa..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
---- ./ssl.c.org        2009-10-19 04:34:08.000000000 +0200
-+++ ./ssl.c    2010-12-28 17:33:27.730241842 +0100
-@@ -608,7 +608,7 @@ ssl_cert_digest(SSL* p_ssl, struct vsf_s
-   str_reserve(p_str, EVP_MAX_MD_SIZE);
-   str_empty(p_str);
-   str_rpad(p_str, EVP_MAX_MD_SIZE);
--  if (!X509_digest(p_cert, EVP_sha256(), (unsigned char*) str_getbuf(p_str),
-+  if (!X509_digest(p_cert, EVP_sha1(), (unsigned char*) str_getbuf(p_str),
-                    &num_bytes))
-   {
-     die("X509_digest failed");