diff options
author | Jack Lloyd <[email protected]> | 2016-12-11 15:28:38 -0500 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2016-12-18 16:48:24 -0500 |
commit | f3cb3edb512bdcab498d825886c3366c341b3f78 (patch) | |
tree | 645c73ec295a5a34f25d99903b6d9fa9751e86d3 /src/lib/x509/x509_ca.h | |
parent | c1dd21253c1f3188ff45d3ad47698efd08235ae8 (diff) |
Convert to using standard uintN_t integer types
Renames a couple of functions for somewhat better name consistency,
eg make_u32bit becomes make_uint32. The old typedefs remain for now
since probably lots of application code uses them.
Diffstat (limited to 'src/lib/x509/x509_ca.h')
-rw-r--r-- | src/lib/x509/x509_ca.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/x509/x509_ca.h b/src/lib/x509/x509_ca.h index 5b5eb6fc8..0448e109b 100644 --- a/src/lib/x509/x509_ca.h +++ b/src/lib/x509/x509_ca.h @@ -54,7 +54,7 @@ class BOTAN_DLL X509_CA * @return new CRL */ X509_CRL new_crl(RandomNumberGenerator& rng, - u32bit next_update = 0) const; + uint32_t next_update = 0) const; /** * Create a new CRL by with additional entries. @@ -67,7 +67,7 @@ class BOTAN_DLL X509_CA X509_CRL update_crl(const X509_CRL& last_crl, const std::vector<CRL_Entry>& new_entries, RandomNumberGenerator& rng, - u32bit next_update = 0) const; + uint32_t next_update = 0) const; /** * Interface for creating new certificates @@ -85,7 +85,7 @@ class BOTAN_DLL X509_CA static X509_Certificate make_cert(PK_Signer* signer, RandomNumberGenerator& rng, const AlgorithmIdentifier& sig_algo, - const std::vector<byte>& pub_key, + const std::vector<uint8_t>& pub_key, const X509_Time& not_before, const X509_Time& not_after, const X509_DN& issuer_dn, @@ -119,7 +119,7 @@ class BOTAN_DLL X509_CA ~X509_CA(); private: X509_CRL make_crl(const std::vector<CRL_Entry>& entries, - u32bit crl_number, u32bit next_update, + uint32_t crl_number, uint32_t next_update, RandomNumberGenerator& rng) const; AlgorithmIdentifier m_ca_sig_algo; |