summaryrefslogtreecommitdiff
path: root/libsylph/ssl.c
diff options
context:
space:
mode:
authorSimeon Simeonov2018-03-01 00:00:14 +0100
committerSimeon Simeonov2018-03-01 00:00:14 +0100
commit2fc50ff5c237478749577a3446c536b11d055af3 (patch)
tree2b2e33b0ef991b4dd56b861d87349e0ccd6048e4 /libsylph/ssl.c
parent8de2d887916cbdd3c2d756e77116585babd026f2 (diff)
Tabify...
Diffstat (limited to 'libsylph/ssl.c')
-rw-r--r--libsylph/ssl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libsylph/ssl.c b/libsylph/ssl.c
index 5a76b8b..82b77b4 100644
--- a/libsylph/ssl.c
+++ b/libsylph/ssl.c
@@ -534,7 +534,7 @@ gint encrypt_data(gchar **encrypted,
534 EVP_DigestFinal_ex(mdctx, hash_buffer, NULL); 534 EVP_DigestFinal_ex(mdctx, hash_buffer, NULL);
535 535
536 length_cleartext = length_hash + length_data_payload; 536 length_cleartext = length_hash + length_data_payload;
537 537
538 cleartext_buffer = OPENSSL_malloc(length_cleartext); 538 cleartext_buffer = OPENSSL_malloc(length_cleartext);
539 OPENSSL_cleanse(cleartext_buffer, length_cleartext); 539 OPENSSL_cleanse(cleartext_buffer, length_cleartext);
540 540