Commit 7c96f6a1 authored by pkubaj's avatar pkubaj Committed by Daniel Gustafsson
Browse files

ntlm: Remove redundant ifdef USE_OPENSSL



lib/curl_ntlm.c had code that read as follows:

  #ifdef USE_OPENSSL
  # ifdef USE_OPENSSL
  # else
  # ..
  # endif
  #endif

Remove the redundant USE_OPENSSL along with #else (it's not possible to
reach it anyway). The removed construction is a leftover from when the
SSLeay support was removed.

Closes #3269
Reviewed-by: default avatarDaniel Gustafsson <daniel@yesql.se>
Reviewed-by: default avatarDaniel Stenberg <daniel@haxx.se>
parent 78ff4e0d
Loading
Loading
Loading
Loading
+6 −16
Original line number Diff line number Diff line
@@ -54,7 +54,6 @@

#ifdef USE_OPENSSL

#  ifdef USE_OPENSSL
#  include <openssl/des.h>
#  ifndef OPENSSL_NO_MD4
#    include <openssl/md4.h>
@@ -62,15 +61,6 @@
#  include <openssl/md5.h>
#  include <openssl/ssl.h>
#  include <openssl/rand.h>
#  else
#    include <des.h>
#    ifndef OPENSSL_NO_MD4
#      include <md4.h>
#    endif
#    include <md5.h>
#    include <ssl.h>
#    include <rand.h>
#  endif
#  if (OPENSSL_VERSION_NUMBER < 0x00907001L)
#    define DES_key_schedule des_key_schedule
#    define DES_cblock des_cblock