Commit Graph

308 Commits (REL_14_STABLE)

Author SHA1 Message Date
Daniel Gustafsson 54717fcaad pgcrypto: Fix check for buffer size 2 years ago
Tom Lane b0bc196e52 Clean up assorted failures under clang's -fsanitize=undefined checks. 4 years ago
Michael Paquier ad5b6f248a Revert error handling improvements for cryptohashes 4 years ago
Michael Paquier 3a0cced86d Improve error handling of cryptohash computations 4 years ago
Daniel Gustafsson 6d0001aabf Add alternative output for OpenSSL 3 without legacy loaded 4 years ago
Daniel Gustafsson 4fa2b15e1c Disable OpenSSL EVP digest padding in pgcrypto 4 years ago
Peter Eisentraut 22e1943f13 pgcrypto: Check for error return of px_cipher_decrypt() 5 years ago
Michael Paquier b83dcf7928 Add result size as argument of pg_cryptohash_final() for overflow checks 5 years ago
Michael Paquier fe61df7f82 Introduce --with-ssl={openssl} as a configure option 5 years ago
Michael Paquier a8ed6bb8f4 Introduce SHA1 implementations in the cryptohash infrastructure 5 years ago
Michael Paquier 15b824da97 Fix and simplify some code related to cryptohashes 5 years ago
Bruce Momjian ca3b37487b Update copyright for 2021 5 years ago
Michael Paquier 93e8ff8701 Refactor logic to check for ASCII-only characters in string 5 years ago
Michael Paquier 9b584953e7 Improve some code around cryptohash functions 5 years ago
Michael Paquier b67b57a966 Refactor MD5 implementations according to new cryptohash infrastructure 5 years ago
Michael Paquier 28d1601ad9 pgcrypto: Detect errors with EVP calls from OpenSSL 5 years ago
Michael Paquier 87ae9691d2 Move SHA2 routines to a new generic API layer for crypto hashes 5 years ago
Michael Paquier 8a15e735be Fix some grammar and typos in comments and docs 5 years ago
Michael Paquier aecaa04418 Add error code for encryption failure in pgcrypto 5 years ago
Michael Paquier ca2a12c935 Fix potential memory leak in pgcrypto 5 years ago
Tom Lane 02a75f8369 Add missing error check in pgcrypto/crypt-md5.c. 5 years ago
Michael Paquier ca7f8e2b86 Remove custom memory allocation layer in pgcrypto 5 years ago
Peter Eisentraut 1784f278a6 Replace remaining StrNCpy() by strlcpy() 5 years ago
Michael Paquier a3ab7a707d Fix corner case with 16kB-long decompression in pgcrypto, take 2 5 years ago
Tom Lane b9b610577d Fix ancient violation of zlib's API spec. 5 years ago
Michael Paquier 38f60f174e Revert "Fix corner case with PGP decompression in pgcrypto" 5 years ago
Michael Paquier 9e108984fb Fix corner case with PGP decompression in pgcrypto 5 years ago
Noah Misch 3350fb5d1f Clear some style deviations. 5 years ago
Alvaro Herrera 17cc133f01
Dial back -Wimplicit-fallthrough to level 3 5 years ago
Alvaro Herrera 87c291e29d
Fix straggler 5 years ago
Tom Lane 0da06d9faf Get rid of trailing semicolons in C macro definitions. 5 years ago
Tom Lane 3ed2005ff5 Introduce macros for typalign and typstorage constants. 6 years ago
Tom Lane 70a7732007 Remove support for upgrading extensions from "unpackaged" state. 6 years ago
Tom Lane eb67623c96 Mark some contrib modules as "trusted". 6 years ago
Bruce Momjian 7559d8ebfa Update copyrights for 2020 6 years ago
Alvaro Herrera 3974c4a724 Remove useless "return;" lines 6 years ago
Andres Freund 01368e5d9d Split all OBJS style lines in makefiles into one-line-per-entry style. 6 years ago
Michael Paquier 6ca86bb7e9 Fix typos in the code 6 years ago
Amit Kapila 7e735035f2 Make the order of the header file includes consistent in contrib modules. 6 years ago
Peter Eisentraut 5d3587d14b Fix most -Wundef warnings 6 years ago
Michael Paquier 66bde49d96 Fix inconsistencies and typos in the tree, take 10 6 years ago
Michael Paquier 8548ddc61b Fix inconsistencies and typos in the tree, take 9 6 years ago
Michael Paquier 652a8947d9 Remove orphaned structure member in pgcrypto 6 years ago
Michael Paquier eb43f3d193 Fix inconsistencies and typos in the tree 6 years ago
Michael Paquier 23bccc823d Fix inconsistencies and typos in the tree 6 years ago
Peter Eisentraut 5925e55498 Add gen_random_uuid function 6 years ago
Michael Paquier c74d49d41c Fix many typos and inconsistencies 6 years ago
Michael Paquier af94ea7406 Fix typos in SQL scripts of pgcrypto 6 years ago
Tom Lane 8255c7a5ee Phase 2 pgindent run for v12. 6 years ago
Tom Lane be76af171c Initial pgindent run for v12. 6 years ago