Skip to content

Commit

Permalink
Merge pull request #29 from kempniu/fix-building-against-libressl-2.3.0
Browse files Browse the repository at this point in the history
Fix building against LibreSSL 2.3.0+
  • Loading branch information
bk138 committed Oct 13, 2016
2 parents 36a46c7 + 96b3edc commit e191071
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/enc.h
Original file line number Diff line number Diff line change
Expand Up @@ -454,8 +454,10 @@ extern void enc_do(char *ciph, char *keyfile, char *lport, char *rhp) {
p++;
if (strstr(p, "md5+") == p) {
Digest = EVP_md5(); p += strlen("md5+");
#ifndef OPENSSL_NO_SHA0
} else if (strstr(p, "sha+") == p) {
Digest = EVP_sha(); p += strlen("sha+");
#endif
} else if (strstr(p, "sha1+") == p) {
Digest = EVP_sha1(); p += strlen("sha1+");
} else if (strstr(p, "ripe+") == p) {
Expand Down

0 comments on commit e191071

Please sign in to comment.