aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorlloyd <[email protected]>2006-06-23 06:42:26 +0000
committerlloyd <[email protected]>2006-06-23 06:42:26 +0000
commitd0b18a83f2f60a20ae71caa9550886ee78f3e777 (patch)
tree6d392272f7260dd5f8ece7ea7a8cd16e9b09c3b4 /src
parentdbda559d929a3f40d671e739c345023ed8aed90c (diff)
X509_CRL should throw an exception if the right option is set and
an unknown critical extension is found.
Diffstat (limited to 'src')
-rw-r--r--src/x509_crl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/x509_crl.cpp b/src/x509_crl.cpp
index 67426bcc4..437d35b8c 100644
--- a/src/x509_crl.cpp
+++ b/src/x509_crl.cpp
@@ -85,7 +85,7 @@ void X509_CRL::force_decode()
throw Invalid_Argument("Bad value of x509/crl/unknown_critical: "
+ action);
- Extensions extensions(false);
+ Extensions extensions(action == "throw");
crl_options.decode(extensions).verify_end();