From 35a31162ffb3a9f6bf7c543e2d516d5cdb339334 Mon Sep 17 00:00:00 2001 From: David Benjamin Date: Wed, 23 Nov 2022 16:50:17 -0500 Subject: [PATCH] Switch X509 ex_* flags to uint32_t. The public API already expects them to be uint32_t. Fix the internals to match. Bug: 516 Change-Id: Ia683cc2fac559ebe0b3c7045e4db551224677c28 Reviewed-on: https://boringssl-review.googlesource.com/c/boringssl/+/55706 Auto-Submit: David Benjamin Commit-Queue: Bob Beck Reviewed-by: Bob Beck --- crypto/x509/internal.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/crypto/x509/internal.h b/crypto/x509/internal.h index edba75c81..4cfc4aef6 100644 --- a/crypto/x509/internal.h +++ b/crypto/x509/internal.h @@ -151,10 +151,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;