Bug 980848: use c-style comments in c files r=cviecco DONTBUILD
authorLandry Breuil <landry@openbsd.org>
Fri, 07 Mar 2014 18:32:11 +0100
changeset 189770 e95573e170752cf0bac7771487fadd56e337c97b
parent 189769 21879e298728898e2a3a4704c33343f42f7329d4
child 189771 0b504e05ccc393779fae480968c0472e57271739
push id3503
push userraliiev@mozilla.com
push dateMon, 28 Apr 2014 18:51:11 +0000
treeherdermozilla-beta@c95ac01e332e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerscviecco
bugs980848
milestone30.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 980848: use c-style comments in c files r=cviecco DONTBUILD
security/nss/cmd/certutil/certutil.c
--- a/security/nss/cmd/certutil/certutil.c
+++ b/security/nss/cmd/certutil/certutil.c
@@ -1774,24 +1774,24 @@ SignCert(CERTCertDBHandle *handle, CERTC
     rv = SECOID_SetAlgorithmID(arena, &cert->signature, algID, 0);
     if (rv != SECSuccess) {
 	fprintf(stderr, "Could not set signature algorithm id.");
 	goto done;
     }
 
     switch(certVersion) {
       case (SEC_CERTIFICATE_VERSION_1):
-        // The initial version for x509 certificates is version one
-        // and this default value must be an implicit DER encoding.
+        /* The initial version for x509 certificates is version one
+         * and this default value must be an implicit DER encoding. */
         cert->version.data = NULL;
         cert->version.len = 0;
         break;
       case (SEC_CERTIFICATE_VERSION_2):
       case (SEC_CERTIFICATE_VERSION_3):
-      case 3: // unspecified format (would be version 4 certificate).
+      case 3: /* unspecified format (would be version 4 certificate). */
         *(cert->version.data) = certVersion;
         cert->version.len = 1;
         break;
       default:
         PORT_SetError(SEC_ERROR_INVALID_ARGS);
         return SECFailure;
     }