Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enhance openssl compatibility. Fixes #676
Patch by: michaelortmann Fixes: #676 We were using old functions and if they were not available we defined them to use the new ones. This patch reverses this logic and automagically gets rid of the compiler warning. We were printing MD5 and SHA1 fingerprints. This patch changes this, and we ill print SHA-256 and SHA1. I also enhanced the error handling of function X509_digest(). Last but not least, i enhanced variable definition unsigned i -> unsigned int i and other variable definitions. Fixed a well hidden bug. eggdrops aclocal.m4 /config.h and tls.c linked and used the wrong functions. Example: hex_to_string is OPENSSL_buf2hexstr and not OPENSSL_hexstr2buf. Eggdrop didn't fail, but there may be consequential errors. Addressed Geo's OCD
- Loading branch information
1 parent
0246149
commit eb03829
Showing
2 changed files
with
18 additions
and
19 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