aboutsummaryrefslogtreecommitdiffstats
path: root/src/cert/x509ca/x509_ca.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/cert/x509ca/x509_ca.cpp')
-rw-r--r--src/cert/x509ca/x509_ca.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cert/x509ca/x509_ca.cpp b/src/cert/x509ca/x509_ca.cpp
index c9523c6c8..4c4e62baa 100644
--- a/src/cert/x509ca/x509_ca.cpp
+++ b/src/cert/x509ca/x509_ca.cpp
@@ -98,7 +98,7 @@ X509_Certificate X509_CA::make_cert(PK_Signer* signer,
const Extensions& extensions)
{
const u32bit X509_CERT_VERSION = 3;
- const u32bit SERIAL_BITS = 128;
+ const size_t SERIAL_BITS = 128;
BigInt serial_no(rng, SERIAL_BITS);