-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
encfs_common.c: Fixes for compatibility with OpenSSL 1.1. See #2355
- Loading branch information
1 parent
4859f4d
commit aaeff8b
Showing
1 changed file
with
14 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
aaeff8b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Have you seen the "ERROR: LeakSanitizer: detected memory leaks"?
aaeff8b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I thought the
EVP_CIPHER_CTX_cleanup(stream_dec);
would free it. Perhaps there's something likeEVP_CIPHER_CTX_free()
that should be added?aaeff8b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh yeah it was and you already made a PR 😆
aaeff8b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just for the record since it migh be a problem sooner or later.
aaeff8b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Duh, so we need different code paths with #ifdef's now? I hate OpenSSL.
aaeff8b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was guessing it was defined as {}, for example, not vanished. On a 2nd thought, disappear is a strong word.
aaeff8b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So they did the job for us. Sounds much better!