aboutsummaryrefslogtreecommitdiffstats
path: root/src/asn1/asn1_str.cpp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2008-09-29 03:08:47 +0000
committerlloyd <[email protected]>2008-09-29 03:08:47 +0000
commit8479818176b1b80376541e33e49d65589e8feabb (patch)
treef17e9e17286766ada342bc1a9778b98122a378e0 /src/asn1/asn1_str.cpp
parent9e3118d4ded9af1f75ec0512fa9a6bc3725a6ae1 (diff)
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.
Diffstat (limited to 'src/asn1/asn1_str.cpp')
-rw-r--r--src/asn1/asn1_str.cpp2
1 files changed, 1 insertions, 1 deletions
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;