aboutsummaryrefslogtreecommitdiffstats
path: root/src/cert/x509/x509_crl.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/cert/x509/x509_crl.h')
-rw-r--r--src/cert/x509/x509_crl.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/cert/x509/x509_crl.h b/src/cert/x509/x509_crl.h
index a7903e7e6..74427fbef 100644
--- a/src/cert/x509/x509_crl.h
+++ b/src/cert/x509/x509_crl.h
@@ -68,12 +68,16 @@ class BOTAN_DLL X509_CRL : public X509_Object
/**
* Construct a CRL from a data source.
* @param source the data source providing the DER or PEM encoded CRL.
+ * @param throw_on_unknown_critical should we throw an exception
+ * if an unknown CRL extension marked as critical is encountered.
*/
- X509_CRL(DataSource&, bool throw_on_unknown_critical = false);
+ X509_CRL(DataSource& source, bool throw_on_unknown_critical = false);
/**
* Construct a CRL from a file containing the DER or PEM encoded CRL.
* @param filename the name of the CRL file
+ * @param throw_on_unknown_critical should we throw an exception
+ * if an unknown CRL extension marked as critical is encountered.
*/
X509_CRL(const std::string& filename,
bool throw_on_unknown_critical = false);