diff options
Diffstat (limited to 'cpp/src/IceSSL/Context.cpp')
-rw-r--r-- | cpp/src/IceSSL/Context.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/cpp/src/IceSSL/Context.cpp b/cpp/src/IceSSL/Context.cpp index 99d67a67d7a..c2f4d5058b8 100644 --- a/cpp/src/IceSSL/Context.cpp +++ b/cpp/src/IceSSL/Context.cpp @@ -573,7 +573,8 @@ IceSSL::Context::addKeyCert(const Ice::ByteSeq& privateKey, const Ice::ByteSeq& } // Make a key pair based on the DER encoded byte sequences. - addKeyCert(RSAKeyPair(privKey, publicKey)); + RSAKeyPair rsaKeyPair(privKey, publicKey); + addKeyCert(rsaKeyPair); } void @@ -593,7 +594,8 @@ IceSSL::Context::addKeyCert(const string& privateKey, const string& publicKey) } // Make a key pair based on the Base64 encoded strings. - addKeyCert(RSAKeyPair(privKey, publicKey)); + RSAKeyPair rsaKeyPair(privKey, publicKey); + addKeyCert(rsaKeyPair); } SSL* |