diff options
author | Mikkel Krautz <mikkel@krautz.dk> | 2017-02-21 01:44:59 +0300 |
---|---|---|
committer | Mikkel Krautz <mikkel@krautz.dk> | 2017-02-21 01:44:59 +0300 |
commit | 30c4c41edb75ff4135b2d8efa4731933513e27c9 (patch) | |
tree | b6b229874bd49b0c682f2ac78eedb6db22af8c62 /src/murmur/MurmurIce.cpp | |
parent | affa2c4b56ce1969347b7bd8003ab018a96e2b5b (diff) |
MurmurIce: use Server::privateKeyFromPEM in updateCertificate RPC method.
Diffstat (limited to 'src/murmur/MurmurIce.cpp')
-rw-r--r-- | src/murmur/MurmurIce.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/murmur/MurmurIce.cpp b/src/murmur/MurmurIce.cpp index cad3f9c79..2c772f4aa 100644 --- a/src/murmur/MurmurIce.cpp +++ b/src/murmur/MurmurIce.cpp @@ -1550,7 +1550,7 @@ static void impl_Server_updateCertificate(const ::Murmur::AMD_Server_updateCerti } // Verify that we can load the private key. - QSslKey privKey(privateKeyPem, QSsl::Rsa, QSsl::Pem, QSsl::PrivateKey, passphraseBytes); + QSslKey privKey = ::Server::privateKeyFromPEM(privateKeyPem, passphraseBytes); if (privKey.isNull()) { ERR_clear_error(); cb->ice_exception(InvalidInputDataException()); |