aboutsummaryrefslogtreecommitdiffstats
path: root/src
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 /src
parent0bd8c8b21ab12059297bce66e6ca7d8118458ffb (diff)
Return the correct type from Basic_Constraints::get_path_limit (was coercing
the path limit integer to a boolean)
Diffstat (limited to 'src')
-rw-r--r--src/x509_ext.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/x509_ext.cpp b/src/x509_ext.cpp
index 348c4de1a..7e1fb317c 100644
--- a/src/x509_ext.cpp
+++ b/src/x509_ext.cpp
@@ -143,7 +143,7 @@ namespace Cert_Extension {
/*************************************************
* Checked accessor for the path_limit member *
*************************************************/
-bool Basic_Constraints::get_path_limit() const
+u32bit Basic_Constraints::get_path_limit() const
{
if(!is_ca)
throw Invalid_State("Basic_Constraints::get_path_limit: Not a CA");