0001-Replace-PostmasterRandom-with-a-stronger-source-seco.patch.gz
application/gzip
Filename: 0001-Replace-PostmasterRandom-with-a-stronger-source-seco.patch.gz
Type: application/gzip
Part: 0
Patch
Format: format-patch
Series: patch 0001
Subject: Replace PostmasterRandom() with a stronger source, second attempt.
| File | + | − |
|---|---|---|
| configure | 109 | 0 |
| configure.in | 52 | 0 |
| contrib/pgcrypto/expected/pgp-compression_1.out | 42 | 0 |
| contrib/pgcrypto/expected/pgp-decrypt_1.out | 424 | 0 |
| contrib/pgcrypto/expected/pgp-encrypt_1.out | 161 | 0 |
| contrib/pgcrypto/expected/pgp-pubkey-encrypt_1.out | 62 | 0 |
| contrib/pgcrypto/fortuna.c | 0 | 463 |
| contrib/pgcrypto/fortuna.h | 0 | 38 |
| contrib/pgcrypto/internal.c | 0 | 63 |
| contrib/pgcrypto/Makefile | 1 | 1 |
| contrib/pgcrypto/openssl.c | 0 | 46 |
| contrib/pgcrypto/pgcrypto.c | 14 | 13 |
| contrib/pgcrypto/pgp-encrypt.c | 14 | 8 |
| contrib/pgcrypto/pgp-mpi-internal.c | 6 | 4 |
| contrib/pgcrypto/pgp-pgsql.c | 6 | 89 |
| contrib/pgcrypto/pgp-pubenc.c | 13 | 13 |
| contrib/pgcrypto/pgp-s2k.c | 8 | 7 |
| contrib/pgcrypto/px.c | 33 | 1 |
| contrib/pgcrypto/px-crypt.c | 3 | 4 |
| contrib/pgcrypto/px.h | 1 | 6 |
| contrib/pgcrypto/random.c | 0 | 247 |
| doc/src/sgml/installation.sgml | 17 | 0 |
| src/backend/libpq/auth.c | 49 | 13 |
| src/backend/libpq/crypt.c | 5 | 5 |
| src/backend/postmaster/postmaster.c | 72 | 74 |
| src/backend/storage/ipc/ipci.c | 3 | 0 |
| src/backend/storage/lmgr/lwlocknames.txt | 1 | 0 |
| src/backend/utils/init/globals.c | 1 | 1 |
| src/backend/utils/misc/backend_random.c | 158 | 0 |
| src/backend/utils/misc/Makefile | 3 | 2 |
| src/include/libpq/crypt.h | 1 | 1 |
| src/include/libpq/libpq-be.h | 0 | 1 |
| src/include/miscadmin.h | 1 | 1 |
| src/include/pg_config.h.in | 12 | 0 |
| src/include/port.h | 6 | 0 |
| src/include/utils/backend_random.h | 19 | 0 |
| src/Makefile.global.in | 1 | 0 |
| src/port/erand48.c | 7 | 0 |
| src/port/Makefile | 4 | 0 |
| src/port/pg_strong_random.c | 149 | 0 |
Binary attachment — download to view.