aboutsummaryrefslogtreecommitdiffstats
path: root/src/cert
diff options
context:
space:
mode:
authorlloyd <[email protected]>2009-12-23 00:13:44 +0000
committerlloyd <[email protected]>2009-12-23 00:13:44 +0000
commit04ab1fd8c61a4ba6d02b86167c90320e43099f41 (patch)
tree69956243c2a4e7885dde3c9e63072b536acdb155 /src/cert
parentbb516498eb36ff5ddf604a6561dc73e0cccad3af (diff)
Add FIXME note to Certificate_Policies::encode_inner
Diffstat (limited to 'src/cert')
-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
}
/*