This file is indexed.

/usr/lib/Wt/cmake/WtFindSsl.txt is in witty-examples 3.3.0-1build1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
# We define:
# - SSL_INCLUDE_DIRS
# - SSL_LIBRARIES
# - SSL_FOUND
# Taking into account:
# - SSL_PREFIX
#
# Remark for Win32 users: This file searches for both debug and release
# versions of the OpenSSL library. We assume that debug libs are compiled
# with /MDd, and release with /MD. Apparently that is what CMake uses for
# these modes; it is currently unclear to me if cmake ever uses /MT variants.

FIND_PATH(SSL_INCLUDE_DIRS openssl/ssl.h
  ${SSL_PREFIX}/include
  /usr/include
  /usr/local/include
  c:/openssl/include
)

IF(WIN32)
  FIND_LIBRARY(SSL_LIB_RELEASE
    NAMES
      ssl
      ssleay32MD
    PATHS
      /usr/lib
      /usr/local/lib
      ${SSL_PREFIX}/lib
      ${SSL_PREFIX}/lib/VC
      c:/openssl/lib/VC
  )

  FIND_LIBRARY(SSL_LIB_DEBUG
    NAMES
    ssleay32MDd
    PATHS
      /usr/lib
      /usr/local/lib
      ${SSL_PREFIX}/lib
      ${SSL_PREFIX}/lib/VC
      c:/openssl/lib/VC
  )

  FIND_LIBRARY(SSL_TOO_LIB_RELEASE
    NAMES
      libeay32MD
    PATHS
      ${SSL_PREFIX}/lib
      ${SSL_PREFIX}/lib/VC
      c:/openssl/lib/VC
  )

  FIND_LIBRARY(SSL_TOO_LIB_DEBUG
    NAMES
      libeay32MDd
    PATHS
      ${SSL_PREFIX}/lib
      ${SSL_PREFIX}/lib/VC
      c:/openssl/lib/VC
  )

# We require both release and debug versions of the SSL libs. People who
# really know what they are doing, may edit this file to relax this requirement.
  IF(SSL_INCLUDE_DIRS
      AND SSL_LIB_RELEASE
      AND SSL_LIB_DEBUG
      AND SSL_TOO_LIB_RELEASE
      AND SSL_TOO_LIB_DEBUG)
      SET(SSL_FOUND true)
      SET(SSL_LIBRARIES
          optimized ${SSL_LIB_RELEASE} debug ${SSL_LIB_DEBUG}
          optimized ${SSL_TOO_LIB_RELEASE} debug ${SSL_TOO_LIB_DEBUG})
  ELSE(SSL_INCLUDE_DIRS
      AND SSL_LIB_RELEASE
      AND SSL_LIB_DEBUG
      AND SSL_TOO_LIB_RELEASE
      AND SSL_TOO_LIB_DEBUG)
      SET(SSL_FOUND false)
  ENDIF(SSL_INCLUDE_DIRS
      AND SSL_LIB_RELEASE
      AND SSL_LIB_DEBUG
      AND SSL_TOO_LIB_RELEASE
      AND SSL_TOO_LIB_DEBUG)
ELSE (WIN32)
  FIND_LIBRARY(SSL_LIB
    NAMES
      ssl
    PATHS
      /usr/lib
      /usr/local/lib
      ${SSL_PREFIX}/lib
      ${SSL_PREFIX}/lib/VC
  )
ENDIF (WIN32)

IF(SSL_LIB
    AND SSL_INCLUDE_DIRS)
  IF(WIN32)
    IF(SSL_TOO_LIB)
      SET(SSL_FOUND true)
      SET(SSL_LIBRARIES ${SSL_LIB} ${SSL_TOO_LIB})
    ELSE(SSL_TOO_LIB)
      SET(SSL_FOUND false)
    ENDIF(SSL_TOO_LIB)
  ELSE(WIN32)
    SET(SSL_FOUND true)
    SET(SSL_LIBRARIES ${SSL_LIB} -lcrypto)
  ENDIF(WIN32)
ENDIF(SSL_LIB
    AND SSL_INCLUDE_DIRS)