diff options
Diffstat (limited to 'src/wrap/python/rsa.cpp')
-rw-r--r-- | src/wrap/python/rsa.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wrap/python/rsa.cpp b/src/wrap/python/rsa.cpp index 2aa30efd7..cbccf96e8 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()); } |