2016-07-08 20:11:43 +08:00
|
|
|
# Ignore editor artefacts
|
2015-09-01 03:45:56 +08:00
|
|
|
/.dir-locals.el
|
2013-01-19 20:20:21 +08:00
|
|
|
|
2013-01-07 00:47:36 +08:00
|
|
|
# Top level excludes
|
2021-05-17 20:33:16 +08:00
|
|
|
/Makefile.in
|
2019-10-20 01:35:16 +08:00
|
|
|
/Makefile
|
2013-02-27 05:50:40 +08:00
|
|
|
/MINFO
|
2015-03-17 05:36:19 +08:00
|
|
|
/TABLE
|
2013-01-07 00:47:36 +08:00
|
|
|
/rehash.time
|
2013-06-13 22:39:23 +08:00
|
|
|
/inc.*
|
|
|
|
/makefile.*
|
|
|
|
/out.*
|
|
|
|
/tmp.*
|
Refactor file writing - introduce template driven file writing
apps/CA.pl and tools/c_rehash are built from template files. So far,
this was done by Configure, which created its own problems as it
forced everyone to reconfigure just because one of the template files
had changed.
Instead, have those files created as part of the normal build in apps/
and in tools/.
Furthermore, this prepares for a future where Configure may produce
entirely other build files than Makefile, and the latter can't be
guaranteed to be the holder of all information for other scripts.
Instead, configdata.pm (described below) becomes the center of
configuration information.
This introduces a few new things:
%config a hash table to hold all kinds of configuration data
that can be used by any other script.
configdata.pm a perl module that Configure writes. It currently
holds the hash tables %config and %target.
util/dofile.pl a script that takes a template on STDIN and outputs
the result after applying configuration data on it.
It's supposed to be called like this:
perl -I$(TOP) -Mconfigdata < template > result
or
perl -I$(TOP) -Mconfigdata templ1 templ2 ... > result
Note: util/dofile.pl requires Text::Template.
As part of this changed, remove a number of variables that are really
just copies of entries in %target, and use %target directly. The
exceptions are $target{cflags} and $target{lflags}, they do get copied
to $cflags and $lflags. The reason for this is that those variable
potentially go through a lot of changes and would rather deserve a
place in %config. That, however, is for another commit.
Reviewed-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
2015-05-19 04:35:23 +08:00
|
|
|
/configdata.pm
|
2023-05-03 18:29:00 +08:00
|
|
|
/builddata.pm
|
|
|
|
/installdata.pm
|
|
|
|
|
|
|
|
# Exporters
|
|
|
|
/*.pc
|
Add exporters for CMake
CMake's older package finder, FindOpenSSL.cmake, does a best guess effort
and doesn't always get it right.
By CMake's own documentation, that's what such modules are (best effort
attempts), and package producers are (strongly) encouraged to help out by
producing and installing <PackageName>Config.cmake files to get a more
deterministic configuration.
The resulting OpenSSLConfig.cmake tries to mimic the result from CMake's
FindOpenSSL.cmake, by using the same variable and imported target names.
It also adds a few extra variables of its own, such as:
OPENSSL_MODULES_DIR Indicates the default installation directory
for OpenSSL loadable modules, such as providers.
OPENSSL_RUNTIME_DIR Indicates the default runtime directory, where
for example the openssl program is located.
OPENSSL_PROGRAM Is the full directory-and-filename of the
openssl program.
The imported targets OpenSSL::Crypto and OpenSSL::SSL are as precisely
specified as possible, so for example, they are specified with the both the
import library and the DLL on Windows, which should make life easier on that
platform.
For the moment, one of the following must be done in your CMake project for
this CMake configuration to take priority over CMake's FindOpenSSL.cmake:
- The variable CMAKE_FIND_PACKAGE_PREFER_CONFIG must be set to true prior
to the 'find_package(OpenSSL)' call.
- The 'find_package' call itself must use the "Full Signature". If you
don't know any better, simply add the 'CONFIG' option, i.e. from this
example:
find_package(OpenSSL 3.0 REQUIRED)
to this:
find_package(OpenSSL 3.0 REQUIRED CONFIG)
Just as with the 'pkg-config' exporters, two variants of the .cmake files
are produced:
- Those in 'exporters/' are installed in the location that 'pkg-config'
itself prefers for installed packages.
- Those in the top directory are to be used when it's desirable to build
directly against an OpenSSL build tree.
Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/20878)
2023-05-03 18:36:09 +08:00
|
|
|
/OpenSSLConfig*.cmake
|
2023-05-03 18:29:00 +08:00
|
|
|
/exporters/*.pc
|
Add exporters for CMake
CMake's older package finder, FindOpenSSL.cmake, does a best guess effort
and doesn't always get it right.
By CMake's own documentation, that's what such modules are (best effort
attempts), and package producers are (strongly) encouraged to help out by
producing and installing <PackageName>Config.cmake files to get a more
deterministic configuration.
The resulting OpenSSLConfig.cmake tries to mimic the result from CMake's
FindOpenSSL.cmake, by using the same variable and imported target names.
It also adds a few extra variables of its own, such as:
OPENSSL_MODULES_DIR Indicates the default installation directory
for OpenSSL loadable modules, such as providers.
OPENSSL_RUNTIME_DIR Indicates the default runtime directory, where
for example the openssl program is located.
OPENSSL_PROGRAM Is the full directory-and-filename of the
openssl program.
The imported targets OpenSSL::Crypto and OpenSSL::SSL are as precisely
specified as possible, so for example, they are specified with the both the
import library and the DLL on Windows, which should make life easier on that
platform.
For the moment, one of the following must be done in your CMake project for
this CMake configuration to take priority over CMake's FindOpenSSL.cmake:
- The variable CMAKE_FIND_PACKAGE_PREFER_CONFIG must be set to true prior
to the 'find_package(OpenSSL)' call.
- The 'find_package' call itself must use the "Full Signature". If you
don't know any better, simply add the 'CONFIG' option, i.e. from this
example:
find_package(OpenSSL 3.0 REQUIRED)
to this:
find_package(OpenSSL 3.0 REQUIRED CONFIG)
Just as with the 'pkg-config' exporters, two variants of the .cmake files
are produced:
- Those in 'exporters/' are installed in the location that 'pkg-config'
itself prefers for installed packages.
- Those in the top directory are to be used when it's desirable to build
directly against an OpenSSL build tree.
Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/20878)
2023-05-03 18:36:09 +08:00
|
|
|
/exporters/OpenSSLConfig*.cmake
|
2013-01-07 00:47:36 +08:00
|
|
|
|
|
|
|
# Links under apps
|
2013-01-07 03:06:40 +08:00
|
|
|
/apps/CA.pl
|
2016-04-06 22:04:55 +08:00
|
|
|
/apps/tsget
|
2016-06-08 20:08:53 +08:00
|
|
|
/apps/tsget.pl
|
2013-01-07 03:06:40 +08:00
|
|
|
/apps/md4.c
|
2013-01-07 00:47:36 +08:00
|
|
|
|
|
|
|
# Auto generated headers
|
2013-01-07 03:06:40 +08:00
|
|
|
/crypto/buildinf.h
|
2019-09-28 06:45:33 +08:00
|
|
|
/include/crypto/*_conf.h
|
2020-09-03 21:35:41 +08:00
|
|
|
/include/openssl/asn1.h
|
2020-09-03 22:56:05 +08:00
|
|
|
/include/openssl/asn1t.h
|
2020-09-03 23:06:16 +08:00
|
|
|
/include/openssl/bio.h
|
2020-09-03 21:45:54 +08:00
|
|
|
/include/openssl/cmp.h
|
2020-09-03 21:55:08 +08:00
|
|
|
/include/openssl/cms.h
|
2020-09-03 23:14:28 +08:00
|
|
|
/include/openssl/conf.h
|
Add better support for using deprecated symbols internally
OPENSSL_SUPPRESS_DEPRECATED only does half the job, in telling the
deprecation macros not to add the warning attribute. However, with
'no-deprecated', the symbols are still removed entirely, while we
might still want to use them internally.
The solution is to permit <openssl/opensslconf.h> macros to be
modified internally, such as undefining OPENSSL_NO_DEPRECATED in this
case.
However, with the way <openssl/opensslconf.h> includes
<openssl/macros.h>, that's easier said than done. That's solved by
generating <openssl/configuration.h> instead, and add a new
<openssl/opensslconf.h> that includes <openssl/configuration.h> as
well as <openssl/macros.h>, thus allowing to replace an inclusion of
<openssl/opensslconf.h> with this:
#include <openssl/configuration.h>
#undef OPENSSL_NO_DEPRECATED
#define OPENSSL_SUPPRESS_DEPRECATED
#include <openssl/macros.h>
Or simply add the following prior to any other openssl inclusion:
#include <openssl/configuration.h>
#undef OPENSSL_NO_DEPRECATED
#define OPENSSL_SUPPRESS_DEPRECATED
Note that undefining OPENSSL_NO_DEPRECATED must never be done by
applications, since the symbols must still be exported by the
library. Internal test programs are excempt of this rule, though.
Reviewed-by: Tim Hudson <tjh@openssl.org>
Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/10608)
2019-12-11 21:36:36 +08:00
|
|
|
/include/openssl/configuration.h
|
2020-09-03 22:45:01 +08:00
|
|
|
/include/openssl/crmf.h
|
2020-09-03 23:24:47 +08:00
|
|
|
/include/openssl/crypto.h
|
2020-09-03 22:50:09 +08:00
|
|
|
/include/openssl/ct.h
|
2020-09-11 20:51:58 +08:00
|
|
|
/include/openssl/err.h
|
2020-09-03 23:01:51 +08:00
|
|
|
/include/openssl/ess.h
|
2020-06-29 10:20:41 +08:00
|
|
|
/include/openssl/fipskey.h
|
2020-10-29 20:46:28 +08:00
|
|
|
/include/openssl/lhash.h
|
2020-09-03 22:05:30 +08:00
|
|
|
/include/openssl/ocsp.h
|
2020-09-03 21:35:41 +08:00
|
|
|
/include/openssl/opensslv.h
|
2020-09-03 23:35:20 +08:00
|
|
|
/include/openssl/pkcs12.h
|
2020-09-03 22:20:03 +08:00
|
|
|
/include/openssl/pkcs7.h
|
2020-09-03 21:10:41 +08:00
|
|
|
/include/openssl/safestack.h
|
2020-09-03 22:31:44 +08:00
|
|
|
/include/openssl/srp.h
|
2020-09-02 23:15:06 +08:00
|
|
|
/include/openssl/ssl.h
|
2020-09-03 23:39:36 +08:00
|
|
|
/include/openssl/ui.h
|
2020-09-03 17:23:44 +08:00
|
|
|
/include/openssl/x509.h
|
2020-09-03 19:46:08 +08:00
|
|
|
/include/openssl/x509v3.h
|
2020-09-03 22:37:45 +08:00
|
|
|
/include/openssl/x509_vfy.h
|
2023-05-22 06:09:48 +08:00
|
|
|
/include/openssl/core_names.h
|
|
|
|
/include/internal/param_names.h
|
|
|
|
|
|
|
|
# Auto generated parameter name files
|
|
|
|
/crypto/params_idx.c
|
2013-01-07 00:47:36 +08:00
|
|
|
|
2019-10-13 05:45:56 +08:00
|
|
|
# Auto generated doc files
|
2020-02-27 05:45:31 +08:00
|
|
|
doc/man1/openssl-*.pod
|
2019-10-13 05:45:56 +08:00
|
|
|
|
2020-04-08 19:14:41 +08:00
|
|
|
# Auto generated der files
|
2020-05-22 23:21:11 +08:00
|
|
|
providers/common/der/der_digests_gen.c
|
|
|
|
providers/common/der/der_dsa_gen.c
|
|
|
|
providers/common/der/der_ec_gen.c
|
2020-09-15 23:20:51 +08:00
|
|
|
providers/common/der/der_ecx_gen.c
|
2020-05-22 23:21:11 +08:00
|
|
|
providers/common/der/der_rsa_gen.c
|
2020-08-04 10:18:51 +08:00
|
|
|
providers/common/der/der_wrap_gen.c
|
2020-09-18 10:27:42 +08:00
|
|
|
providers/common/der/der_sm2_gen.c
|
2020-04-08 19:14:41 +08:00
|
|
|
providers/common/include/prov/der_dsa.h
|
|
|
|
providers/common/include/prov/der_ec.h
|
2020-09-15 23:20:51 +08:00
|
|
|
providers/common/include/prov/der_ecx.h
|
2020-04-08 19:14:41 +08:00
|
|
|
providers/common/include/prov/der_rsa.h
|
2020-05-14 21:21:40 +08:00
|
|
|
providers/common/include/prov/der_digests.h
|
2020-08-04 10:18:51 +08:00
|
|
|
providers/common/include/prov/der_wrap.h
|
2020-09-18 10:27:42 +08:00
|
|
|
providers/common/include/prov/der_sm2.h
|
2020-04-08 19:14:41 +08:00
|
|
|
|
2017-06-08 03:12:03 +08:00
|
|
|
# error code files
|
|
|
|
/crypto/err/openssl.txt.old
|
|
|
|
/engines/e_afalg.txt.old
|
|
|
|
/engines/e_capi.txt.old
|
|
|
|
/engines/e_dasync.txt.old
|
|
|
|
/engines/e_ossltest.txt.old
|
|
|
|
|
2013-01-07 00:47:36 +08:00
|
|
|
# Executables
|
2013-01-07 03:06:40 +08:00
|
|
|
/apps/openssl
|
|
|
|
/test/sha256t
|
|
|
|
/test/sha512t
|
2013-01-20 01:41:44 +08:00
|
|
|
/test/gost2814789t
|
2016-04-06 22:04:55 +08:00
|
|
|
/test/ssltest_old
|
2013-01-07 03:06:40 +08:00
|
|
|
/test/*test
|
|
|
|
/test/fips_aesavs
|
|
|
|
/test/fips_desmovs
|
|
|
|
/test/fips_dhvs
|
|
|
|
/test/fips_drbgvs
|
|
|
|
/test/fips_dssvs
|
|
|
|
/test/fips_ecdhvs
|
|
|
|
/test/fips_ecdsavs
|
|
|
|
/test/fips_rngvs
|
|
|
|
/test/fips_test_suite
|
2016-04-06 22:03:06 +08:00
|
|
|
/test/ssltest_old
|
2016-05-23 20:48:22 +08:00
|
|
|
/test/x509aux
|
2016-06-08 23:37:06 +08:00
|
|
|
/test/v3ext
|
2018-04-04 23:54:33 +08:00
|
|
|
/test/versions
|
2016-10-12 19:07:33 +08:00
|
|
|
/test/ossl_shim/ossl_shim
|
2018-09-17 06:09:25 +08:00
|
|
|
/test/rsa_complex
|
2019-11-13 01:41:29 +08:00
|
|
|
/test/confdump
|
2020-01-06 07:14:24 +08:00
|
|
|
/test/bio_prefix_text
|
2020-06-16 23:15:52 +08:00
|
|
|
/test/evp_extra_test2
|
2022-05-05 16:07:41 +08:00
|
|
|
/test/evp_pkey_ctx_new_from_name
|
2021-05-25 19:02:07 +08:00
|
|
|
/test/threadstest_fips
|
2022-08-18 23:05:43 +08:00
|
|
|
/test/timing_load_creds
|
2016-07-08 20:11:43 +08:00
|
|
|
|
|
|
|
# Certain files that get created by tests on the fly
|
2020-02-13 03:22:42 +08:00
|
|
|
/test-runs
|
2016-07-08 20:11:43 +08:00
|
|
|
/test/buildtest_*
|
2020-02-26 05:27:24 +08:00
|
|
|
/test/provider_internal_test.cnf
|
|
|
|
/test/fipsmodule.cnf
|
|
|
|
/providers/fipsmodule.cnf
|
2016-07-08 20:11:43 +08:00
|
|
|
|
|
|
|
# Fuzz stuff.
|
|
|
|
# Anything without an extension is an executable on Unix, so we keep files
|
|
|
|
# with extensions. And we keep the corpora subddir versioned as well.
|
|
|
|
# Anything more generic with extensions that should be ignored will be taken
|
|
|
|
# care of by general ignores for those extensions (*.o, *.obj, *.exe, ...)
|
|
|
|
/fuzz/*
|
|
|
|
!/fuzz/README*
|
|
|
|
!/fuzz/corpora
|
|
|
|
!/fuzz/*.*
|
2013-01-07 00:47:36 +08:00
|
|
|
|
|
|
|
# Misc auto generated files
|
2018-12-03 22:37:07 +08:00
|
|
|
/doc/man7/openssl_user_macros.pod
|
2013-01-07 03:06:40 +08:00
|
|
|
/tools/c_rehash
|
2016-06-08 20:08:53 +08:00
|
|
|
/tools/c_rehash.pl
|
2016-09-12 00:47:39 +08:00
|
|
|
/util/shlib_wrap.sh
|
2021-06-24 18:24:07 +08:00
|
|
|
/util/wrap.pl
|
2023-06-08 19:18:38 +08:00
|
|
|
/util/quicserver
|
2016-01-22 20:06:26 +08:00
|
|
|
/tags
|
|
|
|
/TAGS
|
2018-10-02 21:05:14 +08:00
|
|
|
*.map
|
|
|
|
*.ld
|
2020-03-03 02:05:03 +08:00
|
|
|
/apps/progs.c
|
|
|
|
/apps/progs.h
|
2015-01-09 18:19:10 +08:00
|
|
|
|
2016-06-08 20:08:53 +08:00
|
|
|
# Windows (legacy)
|
2015-04-01 17:36:18 +08:00
|
|
|
/tmp32
|
|
|
|
/tmp32.dbg
|
2015-01-09 18:19:10 +08:00
|
|
|
/tmp32dll
|
2015-01-10 07:01:20 +08:00
|
|
|
/tmp32dll.dbg
|
2015-04-01 17:36:18 +08:00
|
|
|
/out32
|
|
|
|
/out32.dbg
|
2015-01-09 18:19:10 +08:00
|
|
|
/out32dll
|
2015-01-10 07:01:20 +08:00
|
|
|
/out32dll.dbg
|
2015-01-09 18:19:10 +08:00
|
|
|
/inc32
|
|
|
|
/MINFO
|
2016-01-22 20:06:26 +08:00
|
|
|
/ms/bcb.mak
|
|
|
|
/ms/libeay32.def
|
|
|
|
/ms/nt.mak
|
|
|
|
/ms/ntdll.mak
|
|
|
|
/ms/ssleay32.def
|
|
|
|
/ms/version32.rc
|
2015-05-22 16:28:43 +08:00
|
|
|
|
|
|
|
# Files created on other branches that are not held in git, and are not
|
|
|
|
# needed on this branch
|
2016-01-22 20:06:26 +08:00
|
|
|
/include/openssl/asn1_mac.h
|
|
|
|
/include/openssl/des_old.h
|
|
|
|
/include/openssl/fips.h
|
|
|
|
/include/openssl/fips_rand.h
|
|
|
|
/include/openssl/krb5_asn.h
|
|
|
|
/include/openssl/kssl.h
|
|
|
|
/include/openssl/pq_compat.h
|
|
|
|
/include/openssl/ssl23.h
|
|
|
|
/include/openssl/tmdiff.h
|
|
|
|
/include/openssl/ui_compat.h
|
|
|
|
/test/fips_aesavs.c
|
|
|
|
/test/fips_desmovs.c
|
|
|
|
/test/fips_dsatest.c
|
|
|
|
/test/fips_dssvs.c
|
|
|
|
/test/fips_hmactest.c
|
|
|
|
/test/fips_randtest.c
|
|
|
|
/test/fips_rngvs.c
|
|
|
|
/test/fips_rsagtest.c
|
|
|
|
/test/fips_rsastest.c
|
|
|
|
/test/fips_rsavtest.c
|
|
|
|
/test/fips_shatest.c
|
|
|
|
/test/fips_test_suite.c
|
|
|
|
/test/shatest.c
|
2016-07-08 20:11:43 +08:00
|
|
|
|
2016-09-01 04:56:02 +08:00
|
|
|
# Generated docs directories
|
|
|
|
/doc/html
|
|
|
|
/doc/man
|
|
|
|
|
2016-07-08 20:11:43 +08:00
|
|
|
##### Generic patterns
|
|
|
|
# Auto generated assembly language source files
|
|
|
|
*.s
|
|
|
|
!/crypto/*/asm/*.s
|
|
|
|
/crypto/arm*.S
|
|
|
|
/crypto/*/*.S
|
|
|
|
*.asm
|
|
|
|
!/crypto/*/asm/*.asm
|
|
|
|
|
|
|
|
# Object files
|
|
|
|
*.o
|
|
|
|
*.obj
|
|
|
|
|
|
|
|
# editor artefacts
|
|
|
|
*.swp
|
|
|
|
.#*
|
|
|
|
\#*#
|
|
|
|
*~
|
|
|
|
|
|
|
|
# Certificate symbolic links
|
|
|
|
*.0
|
|
|
|
|
2017-04-26 00:29:04 +08:00
|
|
|
# All kinds of libraries and executables
|
|
|
|
*.a
|
2016-07-08 20:11:43 +08:00
|
|
|
*.so
|
|
|
|
*.so.*
|
|
|
|
*.dylib
|
|
|
|
*.dylib.*
|
|
|
|
*.dll
|
|
|
|
*.dll.*
|
|
|
|
*.exe
|
|
|
|
*.pyc
|
|
|
|
*.exp
|
|
|
|
*.lib
|
|
|
|
*.pdb
|
2020-11-20 07:39:12 +08:00
|
|
|
*.tds
|
2016-07-08 20:11:43 +08:00
|
|
|
*.ilk
|
|
|
|
*.def
|
|
|
|
*.rc
|
|
|
|
*.res
|
|
|
|
|
|
|
|
# Misc generated stuff
|
|
|
|
Makefile.save
|
|
|
|
/crypto/**/lib
|
|
|
|
/engines/**/lib
|
|
|
|
/ssl/**/lib
|
|
|
|
*.bak
|
|
|
|
cscope.*
|
|
|
|
*.d
|
2023-01-17 12:59:51 +08:00
|
|
|
!.ctags.d
|
2020-02-19 00:08:30 +08:00
|
|
|
*.d.tmp
|
2016-08-04 01:53:21 +08:00
|
|
|
pod2htmd.tmp
|
2020-11-20 07:39:12 +08:00
|
|
|
MAKE0[0-9][0-9][0-9].@@@
|
2016-08-04 01:53:21 +08:00
|
|
|
|
|
|
|
# Windows manifest files
|
|
|
|
*.manifest
|
2017-01-12 21:20:54 +08:00
|
|
|
doc-nits
|
2023-07-01 05:28:16 +08:00
|
|
|
|
|
|
|
# LSP (Language Server Protocol) support
|
|
|
|
.cache/
|
|
|
|
compile_commands.json
|