diff options
| author | Brent Cook <busterb@gmail.com> | 2025-05-18 20:45:36 +0900 |
|---|---|---|
| committer | Brent Cook <busterb@gmail.com> | 2025-05-18 20:46:32 +0900 |
| commit | 15bc02adc578c0c1f5afd1fbd9c96bbcfa388ad7 (patch) | |
| tree | a23f85db2ca4de8d4950a4980a6ef769576c01d9 | |
| parent | f8fafd5e8855e42a7046f9d22c8ff06e6c7410ae (diff) | |
| download | portable-15bc02adc578c0c1f5afd1fbd9c96bbcfa388ad7.tar.gz portable-15bc02adc578c0c1f5afd1fbd9c96bbcfa388ad7.tar.bz2 portable-15bc02adc578c0c1f5afd1fbd9c96bbcfa388ad7.zip | |
fix gitignore brokenness in crypto
/crypto/* masks too much and breaks the exclusion function.
The docs for gitignore state that if a parent directory is ignored,
negating a pattern with a ! prefix has no effect since it is not
possible to reinclude a file if the parent director is excluded.
https://git-scm.com/docs/gitignore
This just is more explicit, which catches files added out of tree more
readily.
Also delete the long-removed libtls-standalone references
| -rw-r--r-- | .gitignore | 112 | ||||
| -rw-r--r-- | crypto/compat/.gitignore | 31 |
2 files changed, 113 insertions, 30 deletions
| @@ -237,36 +237,88 @@ include/openssl/*.h | |||
| 237 | !/apps/openssl/apps_win.c | 237 | !/apps/openssl/apps_win.c |
| 238 | !/apps/openssl/certhash_win.c | 238 | !/apps/openssl/certhash_win.c |
| 239 | 239 | ||
| 240 | /crypto/* | 240 | /crypto/*.c |
| 241 | !/crypto/Makefile.am.* | 241 | /crypto/*.h |
| 242 | /crypto/arch/ | 242 | /crypto/aes/ |
| 243 | !/crypto/arch/mips/* | 243 | /crypto/arch/aarch64/ |
| 244 | !/crypto/arch/loongarch64/* | 244 | /crypto/arch/alpha/ |
| 245 | !/crypto/compat/ | 245 | /crypto/arch/amd64/ |
| 246 | /crypto/compat/* | 246 | /crypto/arch/arm/ |
| 247 | !/crypto/compat/arc4random.h | 247 | /crypto/arch/hppa/ |
| 248 | !/crypto/compat/b_win.c | 248 | /crypto/arch/i386/ |
| 249 | !/crypto/compat/explicit_bzero_win.c | 249 | /crypto/arch/m88k/ |
| 250 | !/crypto/compat/freezero.c | 250 | /crypto/arch/mips64/ |
| 251 | !/crypto/compat/getdelim.c | 251 | /crypto/arch/powerpc/ |
| 252 | !/crypto/compat/getline.c | 252 | /crypto/arch/powerpc64/ |
| 253 | !/crypto/compat/getpagesize.c | 253 | /crypto/arch/riscv64/ |
| 254 | !/crypto/compat/posix_win.c | 254 | /crypto/arch/sh/ |
| 255 | !/crypto/compat/bsd_asprintf.c | 255 | /crypto/arch/sparc64/ |
| 256 | !/crypto/compat/ui_openssl_win.c | 256 | /crypto/asn1/ |
| 257 | !/crypto/compat/crypto_lock_win.c | 257 | /crypto/bf/ |
| 258 | !/crypto/CMakeLists.txt | 258 | /crypto/bio/ |
| 259 | 259 | /crypto/bn/*.c | |
| 260 | !/libtls-standalone/compat/Makefile.am | 260 | /crypto/bn/*.h |
| 261 | /libtls-standalone/include/*.h | 261 | /crypto/bn/arch/aarch64/ |
| 262 | /libtls-standalone/src/*.c | 262 | /crypto/bn/arch/alpha/ |
| 263 | /libtls-standalone/src/*.h | 263 | /crypto/bn/arch/amd64/ |
| 264 | /libtls-standalone/src | 264 | /crypto/bn/arch/arm/ |
| 265 | /libtls-standalone/tests/test | 265 | /crypto/bn/arch/hppa/ |
| 266 | /libtls-standalone/compat | 266 | /crypto/bn/arch/i386/ |
| 267 | /libtls-standalone/VERSION | 267 | /crypto/bn/arch/m88k/ |
| 268 | /libtls-standalone/m4 | 268 | /crypto/bn/arch/mips64/ |
| 269 | /libtls-standalone/man | 269 | /crypto/bn/arch/powerpc/ |
| 270 | /crypto/bn/arch/powerpc64/ | ||
| 271 | /crypto/bn/arch/riscv64/ | ||
| 272 | /crypto/bn/arch/sh/ | ||
| 273 | /crypto/bn/arch/sparc64/ | ||
| 274 | /crypto/buffer/ | ||
| 275 | /crypto/bytestring/ | ||
| 276 | /crypto/camellia/ | ||
| 277 | /crypto/cast/ | ||
| 278 | /crypto/chacha/ | ||
| 279 | /crypto/cmac/ | ||
| 280 | /crypto/cms/ | ||
| 281 | /crypto/conf/ | ||
| 282 | /crypto/ct/ | ||
| 283 | /crypto/curve25519/ | ||
| 284 | /crypto/des/ | ||
| 285 | /crypto/dh/ | ||
| 286 | /crypto/dsa/ | ||
| 287 | /crypto/ec/ | ||
| 288 | /crypto/ecdh/ | ||
| 289 | /crypto/ecdsa/ | ||
| 290 | /crypto/engine/ | ||
| 291 | /crypto/err/ | ||
| 292 | /crypto/evp/ | ||
| 293 | /crypto/hidden/ | ||
| 294 | /crypto/hkdf/ | ||
| 295 | /crypto/hmac/ | ||
| 296 | /crypto/idea/ | ||
| 297 | /crypto/kdf/ | ||
| 298 | /crypto/lhash/ | ||
| 299 | /crypto/md4/ | ||
| 300 | /crypto/md5/ | ||
| 301 | /crypto/mlkem/ | ||
| 302 | /crypto/modes/ | ||
| 303 | /crypto/objects/ | ||
| 304 | /crypto/ocsp/ | ||
| 305 | /crypto/pem/ | ||
| 306 | /crypto/pkcs12/ | ||
| 307 | /crypto/pkcs7/ | ||
| 308 | /crypto/poly1305/ | ||
| 309 | /crypto/rand/ | ||
| 310 | /crypto/rc2/ | ||
| 311 | /crypto/rc4/ | ||
| 312 | /crypto/ripemd/ | ||
| 313 | /crypto/rsa/ | ||
| 314 | /crypto/sha/ | ||
| 315 | /crypto/sm3/ | ||
| 316 | /crypto/sm4/ | ||
| 317 | /crypto/stack/ | ||
| 318 | /crypto/ts/ | ||
| 319 | /crypto/txt_db/ | ||
| 320 | /crypto/ui/ | ||
| 321 | /crypto/x509/ | ||
| 270 | 322 | ||
| 271 | openbsd/ | 323 | openbsd/ |
| 272 | 324 | ||
diff --git a/crypto/compat/.gitignore b/crypto/compat/.gitignore new file mode 100644 index 0000000..7f05049 --- /dev/null +++ b/crypto/compat/.gitignore | |||
| @@ -0,0 +1,31 @@ | |||
| 1 | arc4random.c | ||
| 2 | arc4random_aix.h | ||
| 3 | arc4random_freebsd.h | ||
| 4 | arc4random_hpux.h | ||
| 5 | arc4random_linux.h | ||
| 6 | arc4random_netbsd.h | ||
| 7 | arc4random_osx.h | ||
| 8 | arc4random_solaris.h | ||
| 9 | arc4random_uniform.c | ||
| 10 | arc4random_win.h | ||
| 11 | chacha_private.h | ||
| 12 | explicit_bzero.c | ||
| 13 | getentropy_aix.c | ||
| 14 | getentropy_freebsd.c | ||
| 15 | getentropy_hpux.c | ||
| 16 | getentropy_linux.c | ||
| 17 | getentropy_netbsd.c | ||
| 18 | getentropy_osx.c | ||
| 19 | getentropy_solaris.c | ||
| 20 | getentropy_win.c | ||
| 21 | reallocarray.c | ||
| 22 | recallocarray.c | ||
| 23 | strcasecmp.c | ||
| 24 | strlcat.c | ||
| 25 | strlcpy.c | ||
| 26 | strndup.c | ||
| 27 | strnlen.c | ||
| 28 | strsep.c | ||
| 29 | strtonum.c | ||
| 30 | timingsafe_bcmp.c | ||
| 31 | timingsafe_memcmp.c | ||
