From 8479818176b1b80376541e33e49d65589e8feabb Mon Sep 17 00:00:00 2001 From: lloyd Date: Mon, 29 Sep 2008 03:08:47 +0000 Subject: Remove more dependencies on the global state object. New argument to X509_CRL constructor, a boolean that specifies if an exception should be thrown upon encountering an unknown extension type marked as critical. Previously this was controlled globally via the x509/crl/unknown_critical policy flag. --- src/asn1/asn1_str.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/asn1') diff --git a/src/asn1/asn1_str.cpp b/src/asn1/asn1_str.cpp index eadc7a75d..bca1bf3c3 100644 --- a/src/asn1/asn1_str.cpp +++ b/src/asn1/asn1_str.cpp @@ -49,7 +49,7 @@ ASN1_Tag choose_encoding(const std::string& str, { if(type == "utf8") return UTF8_STRING; if(type == "latin1") return T61_STRING; - throw Invalid_Argument("Bad setting for x509/ca/str_type: " + type); + throw Invalid_Argument("choose_encoding: Bad string type " + type); } } return PRINTABLE_STRING; -- cgit v1.2.3