summaryrefslogtreecommitdiffstats
path: root/net-ftp/bsdftpd-ssl/files/bsdftpd-ds-compile.patch
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2019-09-01 00:00:32 +0200
committerSuren A. Chilingaryan <csa@suren.me>2019-09-01 00:00:32 +0200
commitca9627e70852f6b2e835660df870fe3ab405882d (patch)
tree0a008b1d5b16fa0679a195ed7b5662c7891f591c /net-ftp/bsdftpd-ssl/files/bsdftpd-ds-compile.patch
downloaddarklin4-ca9627e70852f6b2e835660df870fe3ab405882d.tar.gz
darklin4-ca9627e70852f6b2e835660df870fe3ab405882d.tar.bz2
darklin4-ca9627e70852f6b2e835660df870fe3ab405882d.tar.xz
darklin4-ca9627e70852f6b2e835660df870fe3ab405882d.zip
Initial import
Diffstat (limited to 'net-ftp/bsdftpd-ssl/files/bsdftpd-ds-compile.patch')
-rw-r--r--net-ftp/bsdftpd-ssl/files/bsdftpd-ds-compile.patch89
1 files changed, 89 insertions, 0 deletions
diff --git a/net-ftp/bsdftpd-ssl/files/bsdftpd-ds-compile.patch b/net-ftp/bsdftpd-ssl/files/bsdftpd-ds-compile.patch
new file mode 100644
index 0000000..e49d2ad
--- /dev/null
+++ b/net-ftp/bsdftpd-ssl/files/bsdftpd-ds-compile.patch
@@ -0,0 +1,89 @@
+diff -dPNur bsdftpd-ssl-1.0.2/ftp/ftp.c bsdftpd-ssl-1.0.2-new/ftp/ftp.c
+--- bsdftpd-ssl-1.0.2/ftp/ftp.c 2004-07-04 23:00:32.000000000 +0500
++++ bsdftpd-ssl-1.0.2-new/ftp/ftp.c 2006-04-05 05:41:54.000000000 +0500
+@@ -1544,6 +1544,7 @@
+ prt[1] &= 0xff;
+ error = 0;
+ epsv_done:
++ ;
+ } else
+ error = 1;
+
+@@ -1867,6 +1868,7 @@
+
+ return NULL;
+ default:
++ ;
+ }
+
+ X509_free(x509_ssl_con);
+@@ -1982,6 +1984,7 @@
+
+ return NULL;
+ default:
++ ;
+ }
+
+ X509_free(x509_ssl_con);
+diff -dPNur bsdftpd-ssl-1.0.2/ftp/util.c bsdftpd-ssl-1.0.2-new/ftp/util.c
+--- bsdftpd-ssl-1.0.2/ftp/util.c 2004-05-31 03:24:47.000000000 +0500
++++ bsdftpd-ssl-1.0.2-new/ftp/util.c 2006-04-05 05:42:14.000000000 +0500
+@@ -987,6 +987,7 @@
+ ssl_log_msgn(bio_err,"Reason: Certificate revoked");
+ break;
+ default:
++ ;
+ }
+
+ warnx("TLS/SSL connection to server failed");
+diff -dPNur bsdftpd-ssl-1.0.2/ftpd/ftpd.c bsdftpd-ssl-1.0.2-new/ftpd/ftpd.c
+--- bsdftpd-ssl-1.0.2/ftpd/ftpd.c 2006-04-05 04:55:31.000000000 +0500
++++ bsdftpd-ssl-1.0.2-new/ftpd/ftpd.c 2006-04-05 04:57:30.000000000 +0500
+@@ -2322,6 +2322,7 @@
+ SSL_get_shutdown(ssl_data_con);
+ break;
+ default:
++ ;
+ }
+ }
+ SSL_free(ssl_data_con);
+@@ -2445,6 +2446,7 @@
+ SSL_get_shutdown(ssl_data_con);
+ break;
+ default:
++ ;
+ }
+ }
+ SSL_free(ssl_data_con);
+@@ -2696,6 +2698,7 @@
+
+ return NULL;
+ default:
++ ;
+ }
+
+ X509_free(x509_ssl_con);
+@@ -2857,6 +2860,7 @@
+
+ return NULL;
+ default:
++ ;
+ }
+
+ X509_free(x509_ssl_con);
+@@ -4185,6 +4189,7 @@
+ SSL_get_shutdown(ssl_data_con);
+ break;
+ default:
++ ;
+ }
+ }
+ SSL_free(ssl_data_con);
+@@ -4299,6 +4304,7 @@
+ SSL_get_shutdown(ssl_data_con);
+ break;
+ default:
++ ;
+ }
+ }
+ SSL_free(ssl_data_con);