use uint32_t for certificate flags
authorDr. Stephen Henson <steve@openssl.org>
Tue, 1 Sep 2015 15:07:05 +0000 (16:07 +0100)
committerDr. Stephen Henson <steve@openssl.org>
Tue, 1 Sep 2015 19:37:44 +0000 (20:37 +0100)
Reviewed-by: Rich Salz <rsalz@openssl.org>
include/openssl/x509.h

index 4e816ea3c77663667914466e68b3e0a86726308b..5e795c06ee0755216b136b9987f1e34fa2243ce1 100644 (file)
@@ -197,10 +197,10 @@ struct x509_st {
     /* These contain copies of various extension values */
     long ex_pathlen;
     long ex_pcpathlen;
-    unsigned long ex_flags;
-    unsigned long ex_kusage;
-    unsigned long ex_xkusage;
-    unsigned long ex_nscert;
+    uint32_t ex_flags;
+    uint32_t ex_kusage;
+    uint32_t ex_xkusage;
+    uint32_t ex_nscert;
     ASN1_OCTET_STRING *skid;
     AUTHORITY_KEYID *akid;
     X509_POLICY_CACHE *policy_cache;