### These files should get ignored no matter where they appear.

# Editors leave these lying around
\#*\#
.#*
*~
*.swp

# C stuff
*.o

# Assembly stuff
*.S
*.s

# Windows stuff
*.obj
*.exe
*.lib

# Patch leaves these lying arround
*.orig
*.rej

# gcov stuff
*.gcno
*.gcov
*.gcda

# mandoc stuff
links
mandoc.db

# Autotools stuff
.deps
.dirstamp
Makefile
Makefile.in

# CMake stuff
build

# Libtool stuff
.libs
*.lo
*.la

*.def
*.sym
*.pc

# man pages
*.1
*.3
*.5

cert.pem
openssl.cnf
x509v3.cnf

# tests
test-driver
*.log
*.trs
tests/*.crl
tests/aes_wrap*
tests/arc4random_fork*
tests/asn1api*
tests/asn1basic*
tests/asn1complex*
tests/asn1evp*
tests/asn1object*
tests/asn1oct*
tests/asn1string_copy*
tests/asn1_string_to_utf8*
tests/asn1time*
tests/asn1x509*
tests/bio_asn1*
tests/bio_chain*
tests/bio_host*
tests/bio_mem*
tests/bnaddsub*
tests/bn_add_sub*
tests/bn_cmp*
tests/bn_convert*
tests/bn_gcd*
tests/bn_isqrt*
tests/bn_mod_exp*
tests/bn_mod_exp_zero*
tests/bn_mod_exp2_mont*
tests/bn_mod_inverse*
tests/bn_mod_sqrt*
tests/bn_mont*
tests/bn_primes*
tests/bn_print*
tests/bn_rand_interval*
tests/bn_shift*
tests/bn_to_string*
tests/bn_unit*
tests/bn_word*
tests/callback*
tests/cipher*
tests/constraints*
tests/ctlog.conf
tests/*.crt
tests/ec_point_conversion*
tests/ecc_cdh*
tests/evp_pkey_check*
tests/evp_pkey_cleanup*
tests/explicit_bzero*
tests/freenull*
tests/gost2814789t*
tests/key_schedule*
tests/mont*
tests/policy*
tests/rfc3779*
tests/rfc5280time*
tests/ssl_get_shared_ciphers*
tests/ssl_methods*
tests/ssl_set_alpn_protos*
tests/ssl_verify_param*
tests/ssl_versions*
tests/string_table*
tests/timingsafe*
tests/tls_ext_alpn*
tests/tls_prf*
tests/*test
tests/tests.h
tests/*test.c
tests/pbkdf2*
tests/*.pem
tests/testssl
tests/*.txt
tests/compat/*.c
tests/verify*
tests/x509_asn1*
tests/x509_info*
tests/x509attribute*
tests/x509name*
tests/x509req_ext*
!tests/optionstest.c
!tests/*.test
tests/client.c
tests/init_pledge.c
tests/server.c
tests/util.c
tests/valid_handshakes_terminate*
tests/handshake_table*

# benchmarks, tests with external dependencies
tests/bn_general*
tests/bn_mul_div*
tests/expirecallback*
tests/wycheproof-primes*

# update.sh creates this for some reason
tests/empty.c

# ctags stuff
TAGS

autom4te.cache

# Libtool adds these, at least sometimes
INSTALL
/COPYING
!m4/check*.m4
m4/l*

aclocal.m4
compile
doxygen
config.guess
config.log
config.status
config.sub
configure
depcomp
config.h
config.h.in
install-sh
libtool
ltmain.sh
missing
stamp-h1
stamp-h2

include/openssl/Makefile.am
include/arch

VERSION
crypto/VERSION
ssl/VERSION
tls/VERSION
libtls-standalone/VERSION

ssl/hidden
ssl/*.c
ssl/*.h
ssl/*.mk
tls/*.c
tls/*.h
tls/*.mk
include/pqueue.h
include/tls.h
include/openssl/*.h

/apps/ocspcheck/*.h
/apps/ocspcheck/*.c
/apps/ocspcheck/ocspcheck*
/apps/ocspcheck/compat/memmem.c
/apps/ocspcheck/compat/inet_ntop.c
/apps/ocspcheck/compat/strtonum.c

/apps/nc/*.h
/apps/nc/*.c
/apps/nc/nc*
!/apps/nc/readpassphrase.c
/apps/nc/compat/*.c

/apps/openssl/*.h
/apps/openssl/*.c
/apps/openssl/*.cnf
/apps/openssl/*.pem
/apps/openssl/openssl
/apps/openssl/compat/strtonum.c
!/apps/openssl/apps_win.c
!/apps/openssl/certhash_win.c

/crypto/*
!/crypto/Makefile.am.*
!/crypto/compat/arc4random.h
!/crypto/compat/b_win.c
!/crypto/compat/explicit_bzero_win.c
!/crypto/compat/freezero.c
!/crypto/compat/getpagesize.c
!/crypto/compat/posix_win.c
!/crypto/compat/bsd_asprintf.c
!/crypto/compat/timegm.c
!/crypto/compat/ui_openssl_win.c
!/crypto/compat/crypto_lock_win.c
!/crypto/CMakeLists.txt

!/libtls-standalone/compat/Makefile.am
/libtls-standalone/include/*.h
/libtls-standalone/src/*.c
/libtls-standalone/src/*.h
/libtls-standalone/src
/libtls-standalone/tests/test
/libtls-standalone/compat
/libtls-standalone/VERSION
/libtls-standalone/m4
/libtls-standalone/man

openbsd/

*.tar.gz
man/Makefile.am
man/mandoc.db

# JetBrains IDEs
.idea/
*.iml
