]> git.pld-linux.org Git - packages/vsftpd.git/blob - vsftpd-switch_sha256_to_sha1.patch
- rel.2: allow ssl build on AC - changed sha256 to sha1 (less secure but
[packages/vsftpd.git] / vsftpd-switch_sha256_to_sha1.patch
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.060053 seconds and 3 git commands to generate.