Advertisement
z3ntu

mydownlib.patch

Jan 10th, 2018
275
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 1.11 KB | None | 0 0
  1. --- a/libs/mydownlib/mydownlib.c        2018-01-03 19:37:56.000000000 +0100
  2. +++ b/libs/mydownlib/mydownlib.c        2018-01-10 10:09:32.118571101 +0100
  3. @@ -807,7 +807,9 @@
  4.                  TLSv1_2_method(),
  5.                  TLSv1_1_method(),
  6.                  TLSv1_method(),
  7. +                #ifndef OPENSSL_NO_SSL3
  8.                  SSLv3_method(),
  9. +                #endif
  10.                  SSLv23_method(),
  11.                  #ifndef OPENSSL_NO_SSL2
  12.                  SSLv2_method(),
  13. --- a/Makefile  2018-01-10 10:10:16.358846782 +0100
  14. +++ b/Makefile  2018-01-10 10:10:41.249001759 +0100
  15. @@ -3,7 +3,7 @@
  16.  CFLAGS += -m32 -s -O0 -fstack-protector-all -fno-unit-at-a-time -fno-omit-frame-pointer -w
  17.  # Add -DQUICKBMS64 to CDEFS for compiling quickbms_4gb_files
  18.  # For static builds on Linux (no MacOSX [-lcrt0 error]) add: -static -ldl
  19. -CDEFS  += -DDISABLE_UCL -DDISABLE_MCRYPT -DDISABLE_TOMCRYPT
  20. +CDEFS  += -DDISABLE_UCL -DDISABLE_MCRYPT -DDISABLE_TOMCRYPT -DOPENSSL_NO_SSL2 -DOPENSSL_NO_SSL3
  21.  CLIBS  += -static-libgcc -static-libstdc++ -lstdc++ -ldl -lz -lbz2 -lm -lpthread
  22.  PREFIX = /usr/local
  23.  BINDIR = $(PREFIX)/bin
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement