aboutsummaryrefslogtreecommitdiffstats
path: root/src/wrap
diff options
context:
space:
mode:
Diffstat (limited to 'src/wrap')
-rw-r--r--src/wrap/python/filter.cpp2
-rw-r--r--src/wrap/python/rsa.cpp4
2 files changed, 4 insertions, 2 deletions
diff --git a/src/wrap/python/filter.cpp b/src/wrap/python/filter.cpp
index 0076f0c49..a2ad620de 100644
--- a/src/wrap/python/filter.cpp
+++ b/src/wrap/python/filter.cpp
@@ -17,6 +17,8 @@ class Py_Filter : public Filter
public:
virtual void write_str(const std::string&) = 0;
+ std::string name() const { return "Py_Filter_FIXME"; }
+
void write(const byte data[], u32bit length)
{
write_str(std::string((const char*)data, length));
diff --git a/src/wrap/python/rsa.cpp b/src/wrap/python/rsa.cpp
index 903516f11..fd9fff37e 100644
--- a/src/wrap/python/rsa.cpp
+++ b/src/wrap/python/rsa.cpp
@@ -40,7 +40,7 @@ class Py_RSA_PrivateKey
{
SecureVector<byte> bits = PKCS8::BER_encode(*rsa_key);
- return std;:string(reinterpret_cast<const char*>(&bits[0]),
+ return std::string(reinterpret_cast<const char*>(&bits[0]),
bits.size());
}
@@ -125,7 +125,7 @@ class Py_RSA_PublicKey
{
SecureVector<byte> bits = X509::BER_encode(*rsa_key);
- return std;:string(reinterpret_cast<const char*>(&bits[0]),
+ return std::string(reinterpret_cast<const char*>(&bits[0]),
bits.size());
}