summaryrefslogtreecommitdiffstats
path: root/net-ftp/bsdftpd-ssl/files/bsdftpd-ds-compile.patch
blob: e49d2ad6a3ac101472b432aa76306f6be7084dc2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
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);