summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWan-Teh Chang <wtc@google.com>2014-05-20 15:04:39 -0700
committerWan-Teh Chang <wtc@google.com>2014-05-20 15:04:39 -0700
commit21a41e8ba68acf9b565d8f3e646fa05998631b30 (patch)
tree1350cd84c96ddab8ed493f7c26b023c917c049b9
parentad92b1fc1235ab64baba029ef2694d0c9651e171 (diff)
downloadnss-hg-21a41e8ba68acf9b565d8f3e646fa05998631b30.tar.gz
Bug 1011090: Make CERTDB_* constants in pcertt.h unsigned for
consistency with certdb.h. r=briansmith.
-rw-r--r--lib/softoken/legacydb/pcertt.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/lib/softoken/legacydb/pcertt.h b/lib/softoken/legacydb/pcertt.h
index b4c912857..fd5e17ca5 100644
--- a/lib/softoken/legacydb/pcertt.h
+++ b/lib/softoken/legacydb/pcertt.h
@@ -397,18 +397,18 @@ typedef union {
#define DB_CERT_ENTRY_HEADER_LEN 10
/* common flags for all types of certificates */
-#define CERTDB_TERMINAL_RECORD (1<<0)
-#define CERTDB_TRUSTED (1<<1)
-#define CERTDB_SEND_WARN (1<<2)
-#define CERTDB_VALID_CA (1<<3)
-#define CERTDB_TRUSTED_CA (1<<4) /* trusted for issuing server certs */
-#define CERTDB_NS_TRUSTED_CA (1<<5)
-#define CERTDB_USER (1<<6)
-#define CERTDB_TRUSTED_CLIENT_CA (1<<7) /* trusted for issuing client certs */
-#define CERTDB_INVISIBLE_CA (1<<8) /* don't show in UI */
-#define CERTDB_GOVT_APPROVED_CA (1<<9) /* can do strong crypto in export ver */
-#define CERTDB_MUST_VERIFY (1<<10) /* explicitly don't trust this cert */
-#define CERTDB_TRUSTED_UNKNOWN (1<<11) /* accept trust from another source */
+#define CERTDB_TERMINAL_RECORD (1u<<0)
+#define CERTDB_TRUSTED (1u<<1)
+#define CERTDB_SEND_WARN (1u<<2)
+#define CERTDB_VALID_CA (1u<<3)
+#define CERTDB_TRUSTED_CA (1u<<4) /* trusted for issuing server certs */
+#define CERTDB_NS_TRUSTED_CA (1u<<5)
+#define CERTDB_USER (1u<<6)
+#define CERTDB_TRUSTED_CLIENT_CA (1u<<7) /* trusted for issuing client certs */
+#define CERTDB_INVISIBLE_CA (1u<<8) /* don't show in UI */
+#define CERTDB_GOVT_APPROVED_CA (1u<<9) /* can do strong crypto in export ver */
+#define CERTDB_MUST_VERIFY (1u<<10) /* explicitly don't trust this cert */
+#define CERTDB_TRUSTED_UNKNOWN (1u<<11) /* accept trust from another source */
/* bits not affected by the CKO_NETSCAPE_TRUST object */
#define CERTDB_PRESERVE_TRUST_BITS (CERTDB_USER | \