Bug 980848: use c-style comments in c files r=cviecco a=NPOTB DONTBUILD
authorLandry Breuil <landry@openbsd.org>
Fri, 07 Mar 2014 18:32:11 +0100
changeset 183215 e42c51afe0cdfc60e108d8f46aafd4440a610f90
parent 183214 a581bb744a8fcfb1e4a82092585ef90dd9b147d5
child 183216 492e6d27b4d2ed21ec616434859447e34e6f32aa
push id3343
push userffxbld
push dateMon, 17 Mar 2014 21:55:32 +0000
treeherdermozilla-beta@2f7d3415f79f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerscviecco, NPOTB
bugs980848
milestone29.0a2
Bug 980848: use c-style comments in c files r=cviecco a=NPOTB 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;
     }