aboutsummaryrefslogtreecommitdiffstats
path: root/src/x509_ext.cpp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2006-06-23 10:34:49 +0000
committerlloyd <[email protected]>2006-06-23 10:34:49 +0000
commit571fea5ac667b88a66604ecdba05d8324f5e9de7 (patch)
treefc7f8191e779ad3dc6fb2e4ac4e6c9f2acfed7c3 /src/x509_ext.cpp
parent714fe898764407cdb9ebcea30cbc69bf1a4bada8 (diff)
Inline a number of small objects that are only used in a local context
(ie, a single function). This will, unfortunately, break GCC 2.95.x support. Most of the operating systems that had shipped with 2.95.x, like OpenBSD and QNX, have since upgraded. Anyone needing 2.95.x support will have to continue using 1.4.x
Diffstat (limited to 'src/x509_ext.cpp')
-rw-r--r--src/x509_ext.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/x509_ext.cpp b/src/x509_ext.cpp
index 17d3c7ed0..c6a7d5b43 100644
--- a/src/x509_ext.cpp
+++ b/src/x509_ext.cpp
@@ -418,6 +418,9 @@ void Extended_Key_Usage::contents_to(Data_Store& subject, Data_Store&) const
namespace {
+/*************************************************
+* A policy specifier *
+*************************************************/
class Policy_Information : public ASN1_Object
{
public:
@@ -429,6 +432,7 @@ class Policy_Information : public ASN1_Object
.encode(oid)
.end_cons();
}
+
void decode_from(BER_Decoder& codec)
{
codec.start_cons(SEQUENCE)