]>
git.ipfire.org Git - thirdparty/openssl.git/blob - include/openssl/opensslconf.h.in
2 * {- join("\n * ", @autowarntext) -}
4 * Copyright 2016-2018 The OpenSSL Project Authors. All Rights Reserved.
6 * Licensed under the Apache License 2.0 (the "License"). You may not use
7 * this file except in compliance with the License. You can obtain a copy
8 * in the file LICENSE in the source distribution or at
9 * https://www.openssl.org/source/license.html
12 #ifndef HEADER_OPENSSLCONF_H
13 # define HEADER_OPENSSLCONF_H
19 # ifdef OPENSSL_ALGORITHM_DEFINES
20 # error OPENSSL_ALGORITHM_DEFINES no longer supported
24 * OpenSSL was configured with the following options:
27 {- if (@
{$config
{openssl_sys_defines
}}) {
28 foreach (@
{$config
{openssl_sys_defines
}}) {
29 $OUT
.= "# ifndef $_\n";
30 $OUT
.= "# define $_ 1\n";
34 foreach (@
{$config
{openssl_api_defines
}}) {
35 (my $macro
, my $value
) = $_
=~ /^(.*?)=(.*?)$
/;
36 $OUT
.= "# define $macro $value\n";
38 if (@
{$config
{openssl_feature_defines
}}) {
39 foreach (@
{$config
{openssl_feature_defines
}}) {
40 $OUT
.= "# ifndef $_\n";
41 $OUT
.= "# define $_\n";
48 /* Generate 80386 code? */
49 {- $config
{processor
} eq
"386" ? "# define" : "# undef" -} I386_ONLY
52 * The following are cipher-specific, but are part of the public API.
54 # if !defined(OPENSSL_SYS_UEFI)
55 {- $config
{bn_ll
} ? "# define" : "# undef" -} BN_LLONG
56 /* Only one for the following should be defined */
57 {- $config
{b64l
} ? "# define" : "# undef" -} SIXTY_FOUR_BIT_LONG
58 {- $config
{b64
} ? "# define" : "# undef" -} SIXTY_FOUR_BIT
59 {- $config
{b32
} ? "# define" : "# undef" -} THIRTY_TWO_BIT
62 # define RC4_INT {- $config{rc4_int} -}
64 #include <openssl/macros.h>
69 #endif /* HEADER_OPENSSLCONF_H */