File: tls-aux.h

package info (click to toggle)
fetchmail 6.5.6-2
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 7,596 kB
  • sloc: ansic: 19,190; sh: 7,108; python: 2,395; perl: 564; yacc: 447; lex: 286; makefile: 260; awk: 124; lisp: 84; exp: 43; sed: 17
file content (37 lines) | stat: -rw-r--r-- 796 bytes parent folder | download | duplicates (3)
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
#ifndef TLS_AUX_H
#define TLS_AUX_H 1

#undef LIBWOLFSSL_VERSION_HEX

#include "config.h"
#include "fetchmail.h"

#ifdef SSL_ENABLE

# ifdef HAVE_WOLFSSL_OPTIONS_H
#  include <wolfssl/options.h>
# endif

# include <openssl/ssl.h>

# undef USING_WOLFSSL
# ifdef LIBWOLFSSL_VERSION_HEX
#  define USING_WOLFSSL 1
#  define OSSL110_API 1
# else
#  if OPENSSL_VERSION_NUMBER < 0x1010000fL
#   undef OSSL110_API
#  else
#   define OSSL110_API 1
#  endif
#  if OPENSSL_VERSION_NUMBER < 0x1010000fL
#   define OpenSSL_version(t) SSLeay_version((t))
#   define OpenSSL_version_num() SSLeay()
#   define OPENSSL_VERSION (SSLEAY_VERSION)
#   define OPENSSL_DIR (SSLEAY_DIR)
#   define OPENSSL_ENGINES_DIR (-1)
#  endif
# endif /* LIBWOLFSSL_VERSION_STRING */
#endif /* SSL_ENABLE */

#endif /* TLS_AUX_H */