diff options
Diffstat (limited to 'libsylph/ssl.c')
| -rw-r--r-- | libsylph/ssl.c | 2 |
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 | ||
