aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorlloyd <[email protected]>2006-09-08 22:47:36 +0000
committerlloyd <[email protected]>2006-09-08 22:47:36 +0000
commit85e5003e112c63d78d984eb8c7c3e915505f4f58 (patch)
treecef7d71ed55c7ef81745980d3dfa749d42f9b26a /include
parent0bd8c8b21ab12059297bce66e6ca7d8118458ffb (diff)
Return the correct type from Basic_Constraints::get_path_limit (was coercing
the path limit integer to a boolean)
Diffstat (limited to 'include')
-rw-r--r--include/x509_ext.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/x509_ext.h b/include/x509_ext.h
index 515f6d4ee..754460492 100644
--- a/include/x509_ext.h
+++ b/include/x509_ext.h
@@ -77,7 +77,7 @@ class Basic_Constraints : public Certificate_Extension
is_ca(ca), path_limit(limit) {}
bool get_is_ca() const { return is_ca; }
- bool get_path_limit() const;
+ u32bit get_path_limit() const;
private:
std::string config_id() const { return "basic_constraints"; }
std::string oid_name() const { return "X509v3.BasicConstraints"; }