diff options
author | unknown <msvensson@neptunus.(none)> | 2006-12-13 23:30:20 +0100 |
---|---|---|
committer | unknown <msvensson@neptunus.(none)> | 2006-12-13 23:30:20 +0100 |
commit | 266d2ea4476ac50cc0380739712cc4cdcdac6ec4 (patch) | |
tree | 8d12cbdefa862eef1b98135e262aa8821e2a21c0 /extra/yassl/src/ssl.cpp | |
parent | bb5457ae7a4433166552a83037a0ca3ffe87988a (diff) | |
download | mariadb-git-266d2ea4476ac50cc0380739712cc4cdcdac6ec4.tar.gz |
change all auto_ptr in yaSSL to mySTL since some lack reset
extra/yassl/src/ssl.cpp:
change all auto_ptr to mySTL since some lack reset
Diffstat (limited to 'extra/yassl/src/ssl.cpp')
-rw-r--r-- | extra/yassl/src/ssl.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/extra/yassl/src/ssl.cpp b/extra/yassl/src/ssl.cpp index ec2e99adecb..aa98465069c 100644 --- a/extra/yassl/src/ssl.cpp +++ b/extra/yassl/src/ssl.cpp @@ -122,7 +122,7 @@ int read_file(SSL_CTX* ctx, const char* file, int format, CertType type) EVP_BytesToKey(info.name, "MD5", info.iv, (byte*)password, passwordSz, 1, key, iv); - STL::auto_ptr<BulkCipher> cipher; + mySTL::auto_ptr<BulkCipher> cipher; if (strncmp(info.name, "DES-CBC", 7) == 0) cipher.reset(NEW_YS DES); else if (strncmp(info.name, "DES-EDE3-CBC", 13) == 0) @@ -138,7 +138,7 @@ int read_file(SSL_CTX* ctx, const char* file, int format, CertType type) return SSL_BAD_FILE; } cipher->set_decryptKey(key, info.iv); - STL::auto_ptr<x509> newx(NEW_YS x509(x->get_length())); + mySTL::auto_ptr<x509> newx(NEW_YS x509(x->get_length())); cipher->decrypt(newx->use_buffer(), x->get_buffer(), x->get_length()); ysDelete(x); |