diff options
author | lloyd <[email protected]> | 2006-06-23 06:42:26 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2006-06-23 06:42:26 +0000 |
commit | d0b18a83f2f60a20ae71caa9550886ee78f3e777 (patch) | |
tree | 6d392272f7260dd5f8ece7ea7a8cd16e9b09c3b4 /src/x509_crl.cpp | |
parent | dbda559d929a3f40d671e739c345023ed8aed90c (diff) |
X509_CRL should throw an exception if the right option is set and
an unknown critical extension is found.
Diffstat (limited to 'src/x509_crl.cpp')
-rw-r--r-- | src/x509_crl.cpp | 2 |
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(); |