-
Notifications
You must be signed in to change notification settings - Fork 289
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Tls server name indication support (#310)
* Added a mailstream_ssl_set_server_name() function This allows clients to enable Server Name Indication on a TLS session by supplying the server name to be used, via a call within the session open callback.
- Loading branch information
Showing
3 changed files
with
83 additions
and
2 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
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
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
ee87746
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.
this commit produces a segfault for me on a basic SSL connection without SNI
segfault at 20 ip 00000034e4433999 sp 00007fffcbe811d0 error 4 in libetpan.so.20.2.0[34e4400000+c0000]
OpenSSL> version
OpenSSL 1.0.2m 2 Nov 2017
OpenSSL>
mailstream debug:
ee87746
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.
You should open an issue; commenting on the commit might result in this being lost.
ee87746
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.
yup. just wanted to get the commiter notified not just the maintainer. I will open one if there is no response
I valgrinded the process today for some additional information
ee87746
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.
You might also try doing a full build with clang using the various
sanitize
flags. They're amazingly good at tracking down problems.