xref: /dragonfly/lib/librecrypto/dfly_config.txt (revision 029e6489)
1
2#if 0
3/* added to openssl/opensslfeatures.h */
4#define OPENSSL_NO_ENGINE
5#define OPENSSL_NO_HW_PADLOCK
6#endif
7
8#if 0
9/* use as default */
10#define OPENSSLDIR "/etc/ssl"
11#endif
12
13#if 0
14/* unused */
15#define PACKAGE_NAME "libressl"
16#define PACKAGE_TARNAME "libressl"
17#define PACKAGE_VERSION "3.1.3"
18#define PACKAGE_STRING "libressl 3.1.3"
19#define PACKAGE_BUGREPORT ""
20#define PACKAGE_URL ""
21#define PACKAGE "libressl"
22#define VERSION "3.1.3"
23#define LT_OBJDIR ".libs/"
24#endif
25
26#if 0
27/* only if using/compiling compat/ sources */
28#define STDC_HEADERS 1
29#define HAVE_SYS_TYPES_H 1
30#define HAVE_SYS_STAT_H 1
31#define HAVE_STDLIB_H 1
32#define HAVE_STRING_H 1
33#define HAVE_MEMORY_H 1
34#define HAVE_STRINGS_H 1
35#define HAVE_INTTYPES_H 1
36#define HAVE_STDINT_H 1
37#define HAVE_UNISTD_H 1
38#define HAVE_SYMLINK 1
39#define HAVE_ERR_H 1
40#define HAVE_READPASSPHRASE_H 1
41#define HAVE_ASPRINTF 1
42#define HAVE_FREEZERO 1
43#define HAVE_MEMMEM 1
44#define HAVE_READPASSPHRASE 1
45#define HAVE_REALLOCARRAY 1
46#define HAVE_RECALLOCARRAY 1
47#define HAVE_STRLCAT 1
48#define HAVE_STRLCPY 1
49#define HAVE_STRNDUP 1
50#define HAVE_STRNLEN 1
51#define HAVE_STRSEP 1
52#define HAVE_STRTONUM 1
53#define HAVE_TIMEGM 1
54#define HAVE_GETPROGNAME 1
55#define HAVE_SYSLOG 1
56#define HAVE_ACCEPT4 1
57#define HAVE_PIPE2 1
58#define HAVE_POLL 1
59#define HAVE_SOCKETPAIR 1
60#define HAVE_ARC4RANDOM 1
61#define HAVE_ARC4RANDOM_BUF 1
62#define HAVE_ARC4RANDOM_UNIFORM 1
63#define HAVE_EXPLICIT_BZERO 1
64#define HAVE_TIMINGSAFE_BCMP 1
65#define HAVE_TIMINGSAFE_MEMCMP 1
66#define HAVE_DL_ITERATE_PHDR 1
67#define HAVE_CLOCK_GETTIME 1
68#define HAVE_VA_COPY 1
69#define HAVE___VA_COPY 1
70#define HAS_GNU_WARNING_LONG 1
71#define SIZEOF_TIME_T 8
72#endif
73
74#if 0
75/* global for libressl */
76#define LIBRESSL_INTERNAL
77#define __BEGIN_HIDDEN_DECLS
78#define __END_HIDDEN_DECLS
79#endif
80
81#if 0
82/* only for crypto/ * / *.c */
83#define __STRICT_ALIGNMENT
84#endif
85#if 0
86/* only for crypto/ * / *.S */
87#define HAVE_GNU_STACK
88#endif
89
90#if 0
91/* only for crypto/chacha/chacha-merged.c */
92#define __bounded__(x, y, z)
93#endif
94#if 0
95/* only for apps/ */
96#define pledge(request, paths) 0
97#define unveil(path, permissions) 0
98#endif
99#if 0
100/* only for apps/openssl/apps_posix.c */
101#define timespecsub(tsp, usp, vsp)                                      \
102        do {                                                            \
103                (vsp)->tv_sec = (tsp)->tv_sec - (usp)->tv_sec;          \
104                (vsp)->tv_nsec = (tsp)->tv_nsec - (usp)->tv_nsec;       \
105                if ((vsp)->tv_nsec < 0) {                               \
106                        (vsp)->tv_sec--;                                \
107                        (vsp)->tv_nsec += 1000000000L;                  \
108                }                                                       \
109        } while (0)
110#endif
111