aboutsummaryrefslogtreecommitdiffstats
path: root/modules/eng_ossl
diff options
context:
space:
mode:
authorlloyd <[email protected]>2007-11-15 03:26:58 +0000
committerlloyd <[email protected]>2007-11-15 03:26:58 +0000
commiteea881973fc97d1e3ccd4ce358229bd2459acb25 (patch)
tree677121e3a220b37257287b7a0796a14c5145c1af /modules/eng_ossl
parenta731f8135bfd322d187dff46b0b1c3cdc0e76cba (diff)
Revert the change that renamed append() to push_back(). As pointed out
by Joel Low on the mailing list, the STL container types have only a single version of push_back(), along with variations of insert() for handling range-based appending.
Diffstat (limited to 'modules/eng_ossl')
-rw-r--r--modules/eng_ossl/ossl_bc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/eng_ossl/ossl_bc.cpp b/modules/eng_ossl/ossl_bc.cpp
index 91767258c..0782a9674 100644
--- a/modules/eng_ossl/ossl_bc.cpp
+++ b/modules/eng_ossl/ossl_bc.cpp
@@ -113,7 +113,7 @@ void EVP_BlockCipher::key(const byte key[], u32bit length)
SecureVector<byte> full_key(key, length);
if(cipher_name == "TripleDES" && length == 16)
- full_key.push_back(key, 8);
+ full_key.append(key, 8);
else
if(EVP_CIPHER_CTX_set_key_length(&encrypt, length) == 0 ||
EVP_CIPHER_CTX_set_key_length(&decrypt, length) == 0)