diff options
author | msvensson@shellback.(none) <> | 2006-05-31 23:36:50 +0200 |
---|---|---|
committer | msvensson@shellback.(none) <> | 2006-05-31 23:36:50 +0200 |
commit | b33466d3dc4c89ec7bbab56d5fd7164e60249dfd (patch) | |
tree | 2214609f3d7e698595c9e6f802b90a10ebf97c6c /extra/yassl/include/openssl | |
parent | 8adf77b953547cca66aebec906c49fc5267bcdff (diff) | |
download | mariadb-git-b33466d3dc4c89ec7bbab56d5fd7164e60249dfd.tar.gz |
Import patch from yaSSL
- avoid allocating memory for each call to 'EVP_md5' and
'EVP_des_ede3_cbc' which were not released until server was stopped
- Those functions are used from the SQL function 'des_encrypt' and
'des_decrypt'.
Diffstat (limited to 'extra/yassl/include/openssl')
-rw-r--r-- | extra/yassl/include/openssl/ssl.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/extra/yassl/include/openssl/ssl.h b/extra/yassl/include/openssl/ssl.h index 21fd1a0d21a..af801029561 100644 --- a/extra/yassl/include/openssl/ssl.h +++ b/extra/yassl/include/openssl/ssl.h @@ -377,11 +377,9 @@ char* SSL_state_string_long(SSL*); /* EVP stuff, des and md5, different file? */ -typedef struct Digest Digest; -typedef Digest EVP_MD; +typedef char EVP_MD; -typedef struct BulkCipher BulkCipher; -typedef BulkCipher EVP_CIPHER; +typedef char EVP_CIPHER; typedef struct EVP_PKEY EVP_PKEY; |