diff options
author | Bernard Normier <bernard@zeroc.com> | 2004-05-08 00:46:24 +0000 |
---|---|---|
committer | Bernard Normier <bernard@zeroc.com> | 2004-05-08 00:46:24 +0000 |
commit | a42bdd628e9e33f5614944c18e67e2505c495232 (patch) | |
tree | 2e95f8b08c64e31cf7c5f92b9e6a816437bac40f /cpp/src/IceSSL/Context.cpp | |
parent | fixing AMI bug with routers (diff) | |
download | ice-a42bdd628e9e33f5614944c18e67e2505c495232.tar.bz2 ice-a42bdd628e9e33f5614944c18e67e2505c495232.tar.xz ice-a42bdd628e9e33f5614944c18e67e2505c495232.zip |
GCC 3.4 port
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* |