aboutsummaryrefslogtreecommitdiffstats
path: root/main/nss/gcc6-fixes.patch
blob: 447cc00ac2b8c89b9619ef0ff325fc2671246367 (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
--- ./nss/cmd/bltest/blapitest.c.orig
+++ ./nss/cmd/bltest/blapitest.c
@@ -1636,8 +1636,7 @@
 	cipherInfo->cipher.symmkeyCipher = seed_Encrypt;
     else
 	cipherInfo->cipher.symmkeyCipher = seed_Decrypt;
-	
-	return SECSuccess;
+    return SECSuccess;
 }
 
 SECStatus
--- ./nss/lib/dbm/src/h_page.c.orig
+++ ./nss/lib/dbm/src/h_page.c
@@ -116,7 +116,7 @@
 
     if (origin == SEEK_CUR) {
         if (offset < 1)
-            return (lseek(fd, offset, SEEK_CUR));
+        return (lseek(fd, offset, SEEK_CUR));
 
         cur_pos = lseek(fd, 0, SEEK_CUR);
 
--- ./nss/cmd/vfychain/vfychain.c.orig
+++ ./nss/cmd/vfychain/vfychain.c
@@ -439,7 +439,8 @@
 	case  0  : /* positional parameter */  goto breakout;
 	case 'a' : isAscii  = PR_TRUE;                        break;
 	case 'b' : secStatus = DER_AsciiToTime(&time, optstate->value);
-	           if (secStatus != SECSuccess) Usage(progName); break;
+	           if (secStatus != SECSuccess) Usage(progName);
+		break;
 	case 'd' : certDir  = PL_strdup(optstate->value);     break;
 	case 'e' : ocsp_fetchingFailureIsAFailure = PR_FALSE;  break;
 	case 'f' : certFetching = PR_TRUE;                    break;