diff options
Diffstat (limited to 'Swiften/TLS/PKCS12Certificate.h')
-rw-r--r-- | Swiften/TLS/PKCS12Certificate.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Swiften/TLS/PKCS12Certificate.h b/Swiften/TLS/PKCS12Certificate.h index 1d8c7c2..1c8c38f 100644 --- a/Swiften/TLS/PKCS12Certificate.h +++ b/Swiften/TLS/PKCS12Certificate.h @@ -14,7 +14,7 @@ namespace Swift { public: PKCS12Certificate() {} - PKCS12Certificate(const String& filename, const String& password) : password_(password) { + PKCS12Certificate(const std::string& filename, const std::string& password) : password_(password) { data_.readFromFile(filename); } @@ -30,13 +30,13 @@ namespace Swift { data_ = data; } - const String& getPassword() const { + const std::string& getPassword() const { return password_; } private: ByteArray data_; - String password_; + std::string password_; }; } |