Tom Lane
bb132cddf8
Support OpenSSL 1.1.0 in 9.4 branch.
...
This commit back-patches the equivalent of the 9.5-branch commits
e2838c580
and 48e5ba61e
, so that we can work with OpenSSL 1.1.0 in 9.4.
(Going further back would be a good thing but will take more work;
meanwhile let's see what the buildfarm makes of this.)
Original patches by Andreas Karlsson and Heikki Linnakangas,
back-patching work by Andreas Karlsson.
Patch: https://postgr.es/m/0c817abb-3f7d-20fb-583a-58f7593a0bea@proxel.se
Discussion: https://postgr.es/m/5129.1492293840@sss.pgh.pa.us
2017-04-15 20:16:03 -04:00
Bruce Momjian
0a78320057
pgindent run for 9.4
...
This includes removing tabs after periods in C comments, which was
applied to back branches, so this change should not effect backpatching.
2014-05-06 12:12:18 -04:00
Bruce Momjian
9fe55259fd
pgcrypto: fix memset() calls that might be optimized away
...
Specifically, on-stack memset() might be removed, so:
* Replace memset() with px_memset()
* Add px_memset to copy_crlf()
* Add px_memset to pgp-s2k.c
Patch by Marko Kreen
Report by PVS-Studio
Backpatch through 8.4.
2014-04-17 12:37:53 -04:00
Peter Eisentraut
10a3b165a3
pgcrypto: Make header files stand alone
...
pgp.h used to require including mbuf.h and px.h first. Include those in
pgp.h, so that it can be used without prerequisites. Remove mbuf.h
inclusions in .c files where mbuf.h features are not used
directly. (px.h was always used.)
2014-01-09 06:44:24 -05:00
Peter Eisentraut
5caa3479c2
Clean up most -Wunused-but-set-variable warnings from gcc 4.6
...
This warning is new in gcc 4.6 and part of -Wall. This patch cleans
up most of the noise, but there are some still warnings that are
trickier to remove.
2011-04-11 22:28:45 +03:00
Magnus Hagander
9f2e211386
Remove cvs keywords from all files.
2010-09-20 22:08:53 +02:00
Bruce Momjian
d747140279
8.4 pgindent run, with new combined Linux/FreeBSD/MinGW typedef list
...
provided by Andrew.
2009-06-11 14:49:15 +00:00
Bruce Momjian
1dc3498251
Standard pgindent run for 8.1.
2005-10-15 02:49:52 +00:00
Tom Lane
35c675a7fd
Fortuna fixes. Marko Kreen
2005-07-18 17:12:54 +00:00
Tom Lane
e997758cb6
More pgcrypto fixes: avoid bogus alignment assumptions in sha2,
...
be more wary about having a value for BYTE_ORDER, clean up randomly-
chosen ways of including Postgres core headers.
Marko Kreen and Tom Lane
2005-07-11 15:07:59 +00:00
Bruce Momjian
e94dd6ab91
Add missing pgcrypto files from previous commit.
2005-07-10 13:46:29 +00:00