]> git.pld-linux.org Git - packages/vsftpd.git/blame - vsftpd-switch_sha256_to_sha1.patch
- updated to 3.0.5
[packages/vsftpd.git] / vsftpd-switch_sha256_to_sha1.patch
CommitLineData
9f411431
PG
1--- ./ssl.c.org 2009-10-19 04:34:08.000000000 +0200
2+++ ./ssl.c 2010-12-28 17:33:27.730241842 +0100
3@@ -608,7 +608,7 @@ ssl_cert_digest(SSL* p_ssl, struct vsf_s
4 str_reserve(p_str, EVP_MAX_MD_SIZE);
5 str_empty(p_str);
6 str_rpad(p_str, EVP_MAX_MD_SIZE);
7- if (!X509_digest(p_cert, EVP_sha256(), (unsigned char*) str_getbuf(p_str),
8+ if (!X509_digest(p_cert, EVP_sha1(), (unsigned char*) str_getbuf(p_str),
9 &num_bytes))
10 {
11 die("X509_digest failed");
This page took 0.067032 seconds and 4 git commands to generate.