aboutsummaryrefslogtreecommitdiffstats
path: root/src/cert/x509/x509_ext.cpp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2009-12-24 21:38:25 +0000
committerlloyd <[email protected]>2009-12-24 21:38:25 +0000
commit8e0c38eff91fc6c3df5cc0104704baa75149898e (patch)
treee6d79db18899068f8cfa77f2455f00c86d86b6ef /src/cert/x509/x509_ext.cpp
parentc85c79ac51b5829258dae7e51bb472b740da9574 (diff)
parenta48ae8f6c1aa605acbed76e9e2f1d6c2dcdd3d1e (diff)
propagate from branch 'net.randombit.botan' (head 367d157c1221a162f5b4098492944a509ef6d019)
to branch 'net.randombit.botan.c++0x' (head 1b9e8c4e92663f30b7d57b0fd8f57eb13cfce155)
Diffstat (limited to 'src/cert/x509/x509_ext.cpp')
-rw-r--r--src/cert/x509/x509_ext.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/cert/x509/x509_ext.cpp b/src/cert/x509/x509_ext.cpp
index e88b5a268..9a03c9d23 100644
--- a/src/cert/x509/x509_ext.cpp
+++ b/src/cert/x509/x509_ext.cpp
@@ -471,8 +471,10 @@ class Policy_Information : public ASN1_Object
*/
MemoryVector<byte> Certificate_Policies::encode_inner() const
{
+ // FIXME
+#if 1
throw Exception("Certificate_Policies::encode_inner: Bugged");
-
+#else
std::vector<Policy_Information> policies;
return DER_Encoder()
@@ -480,6 +482,7 @@ MemoryVector<byte> Certificate_Policies::encode_inner() const
.encode_list(policies)
.end_cons()
.get_contents();
+#endif
}
/*