<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/postgresql.git/contrib/pgcrypto/blf.c, branch master</title>
<subtitle>git.postgresql.org: git/postgresql.git
</subtitle>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/postgresql.git/'/>
<entry>
<title>pgcrypto: Remove non-OpenSSL support</title>
<updated>2021-11-05T13:06:59+00:00</updated>
<author>
<name>Peter Eisentraut</name>
<email>peter@eisentraut.org</email>
</author>
<published>2021-11-05T12:59:42+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/postgresql.git/commit/?id=db7d1a7b0530e8cbd045744e1c75b0e63fb6916f'/>
<id>db7d1a7b0530e8cbd045744e1c75b0e63fb6916f</id>
<content type='text'>
pgcrypto had internal implementations of some encryption algorithms,
as an alternative to calling out to OpenSSL.  These were rarely used,
since most production installations are built with OpenSSL.  Moreover,
maintaining parallel code paths makes the code more complex and
difficult to maintain.

This patch removes these internal implementations.  Now, pgcrypto is
only built if OpenSSL support is configured.

Reviewed-by: Daniel Gustafsson &lt;daniel@yesql.se&gt;
Discussion: https://www.postgresql.org/message-id/flat/0b42f1df-8cba-6a30-77d7-acc241cc88c1%40enterprisedb.com
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
pgcrypto had internal implementations of some encryption algorithms,
as an alternative to calling out to OpenSSL.  These were rarely used,
since most production installations are built with OpenSSL.  Moreover,
maintaining parallel code paths makes the code more complex and
difficult to maintain.

This patch removes these internal implementations.  Now, pgcrypto is
only built if OpenSSL support is configured.

Reviewed-by: Daniel Gustafsson &lt;daniel@yesql.se&gt;
Discussion: https://www.postgresql.org/message-id/flat/0b42f1df-8cba-6a30-77d7-acc241cc88c1%40enterprisedb.com
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove cvs keywords from all files.</title>
<updated>2010-09-20T20:08:53+00:00</updated>
<author>
<name>Magnus Hagander</name>
<email>magnus@hagander.net</email>
</author>
<published>2010-09-20T20:08:53+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/postgresql.git/commit/?id=9f2e211386931f7aee48ffbc2fcaef1632d8329f'/>
<id>9f2e211386931f7aee48ffbc2fcaef1632d8329f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>8.4 pgindent run, with new combined Linux/FreeBSD/MinGW typedef list</title>
<updated>2009-06-11T14:49:15+00:00</updated>
<author>
<name>Bruce Momjian</name>
<email>bruce@momjian.us</email>
</author>
<published>2009-06-11T14:49:15+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/postgresql.git/commit/?id=d7471402794266078953f1bd113dab4913d631a1'/>
<id>d7471402794266078953f1bd113dab4913d631a1</id>
<content type='text'>
provided by Andrew.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
provided by Andrew.
</pre>
</div>
</content>
</entry>
<entry>
<title>pgindent run for 8.3.</title>
<updated>2007-11-15T21:14:46+00:00</updated>
<author>
<name>Bruce Momjian</name>
<email>bruce@momjian.us</email>
</author>
<published>2007-11-15T21:14:46+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/postgresql.git/commit/?id=fdf5a5efb7b28c13085fe7313658de8d7b9914f6'/>
<id>fdf5a5efb7b28c13085fe7313658de8d7b9914f6</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Replace 4-clause licensed blf.[ch] with blowfish implementation</title>
<updated>2007-03-28T22:48:58+00:00</updated>
<author>
<name>Neil Conway</name>
<email>neilc@samurai.com</email>
</author>
<published>2007-03-28T22:48:58+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/postgresql.git/commit/?id=74b667ad4287ebb3339524e9f2714ae4ec3ee6af'/>
<id>74b667ad4287ebb3339524e9f2714ae4ec3ee6af</id>
<content type='text'>
from PuTTY with is under minimal BSD/MIT license. Marko Kreen.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
from PuTTY with is under minimal BSD/MIT license. Marko Kreen.
</pre>
</div>
</content>
</entry>
<entry>
<title>More pgcrypto fixes: avoid bogus alignment assumptions in sha2,</title>
<updated>2005-07-11T15:07:59+00:00</updated>
<author>
<name>Tom Lane</name>
<email>tgl@sss.pgh.pa.us</email>
</author>
<published>2005-07-11T15:07:59+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/postgresql.git/commit/?id=e997758cb67526549b56a89658f7a42104716cf0'/>
<id>e997758cb67526549b56a89658f7a42104716cf0</id>
<content type='text'>
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
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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
</pre>
</div>
</content>
</entry>
<entry>
<title>Pickup fix from upstream OpenBSD sources: mark a read-only local array as</title>
<updated>2004-10-05T00:14:45+00:00</updated>
<author>
<name>Neil Conway</name>
<email>neilc@samurai.com</email>
</author>
<published>2004-10-05T00:14:45+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/postgresql.git/commit/?id=125bb6cee4a70276c9342417a0ccd67f6c38723e'/>
<id>125bb6cee4a70276c9342417a0ccd67f6c38723e</id>
<content type='text'>
"static" to reduce size of generated code slightly.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
"static" to reduce size of generated code slightly.
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove gratuitous redefinition of inline, which should already have been</title>
<updated>2002-01-29T15:40:45+00:00</updated>
<author>
<name>Tom Lane</name>
<email>tgl@sss.pgh.pa.us</email>
</author>
<published>2002-01-29T15:40:45+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/postgresql.git/commit/?id=7798b50c609227d230e783e5cfd218e5bb2aebc4'/>
<id>7798b50c609227d230e783e5cfd218e5bb2aebc4</id>
<content type='text'>
taken care of in pg_config.h.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
taken care of in pg_config.h.
</pre>
</div>
</content>
</entry>
<entry>
<title>* When postgres.h does not define BYTE_ENDIAN pgcrypto</title>
<updated>2001-11-29T19:40:37+00:00</updated>
<author>
<name>Bruce Momjian</name>
<email>bruce@momjian.us</email>
</author>
<published>2001-11-29T19:40:37+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/postgresql.git/commit/?id=8aa538cfd5a2bcdfc54aced86c7c17b502742fc6'/>
<id>8aa538cfd5a2bcdfc54aced86c7c17b502742fc6</id>
<content type='text'>
  produces garbage.

I learned the hard way that

        #if UNDEFINED_1 == UNDEFINED_2
        #error "gcc is idiot"
        #endif

prints "gcc is idiot" ...

Affected are MD5/SHA1 in internal library, and also HMAC-MD5/HMAC-SHA1/
crypt-md5 which use them.  Blowfish is ok, also Rijndael on at
least x86.

Big thanks to Daniel Holtzman who send me a build log which
contained warning:

        md5.c:246: warning: `X' defined but not used

Yes, gcc is that helpful...

Please apply this.

--
marko
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
  produces garbage.

I learned the hard way that

        #if UNDEFINED_1 == UNDEFINED_2
        #error "gcc is idiot"
        #endif

prints "gcc is idiot" ...

Affected are MD5/SHA1 in internal library, and also HMAC-MD5/HMAC-SHA1/
crypt-md5 which use them.  Blowfish is ok, also Rijndael on at
least x86.

Big thanks to Daniel Holtzman who send me a build log which
contained warning:

        md5.c:246: warning: `X' defined but not used

Yes, gcc is that helpful...

Please apply this.

--
marko
</pre>
</div>
</content>
</entry>
<entry>
<title>New pgindent run with fixes suggested by Tom.  Patch manually reviewed,</title>
<updated>2001-11-05T17:46:40+00:00</updated>
<author>
<name>Bruce Momjian</name>
<email>bruce@momjian.us</email>
</author>
<published>2001-11-05T17:46:40+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/postgresql.git/commit/?id=ea08e6cd5542cb269ecd3e735f1dfa3bb61fbc4f'/>
<id>ea08e6cd5542cb269ecd3e735f1dfa3bb61fbc4f</id>
<content type='text'>
initdb/regression tests pass.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
initdb/regression tests pass.
</pre>
</div>
</content>
</entry>
</feed>
