Re: contrib/pgcrypto patch for OpenSSL 0.9.8
От | Bruce Momjian |
---|---|
Тема | Re: contrib/pgcrypto patch for OpenSSL 0.9.8 |
Дата | |
Msg-id | 200507041431.j64EVLA15998@candle.pha.pa.us обсуждение исходный текст |
Ответ на | Re: contrib/pgcrypto patch for OpenSSL 0.9.8 (Marko Kreen <marko@l-t.ee>) |
Ответы |
Re: contrib/pgcrypto patch for OpenSSL 0.9.8
|
Список | pgsql-patches |
Marko Kreen wrote: > On Mon, Jul 04, 2005 at 12:22:03PM +1000, Neil Conway wrote: > > Bruce Momjian wrote: > > >Patch applied. Thanks. > > > > Should either or both of these patches be applied to back branches? > > That would be a good idea. OK, I have applied the last two diffs for pgcrypto includes to 8.0.X, attached. -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania 19073 Index: contrib/pgcrypto/openssl.c =================================================================== RCS file: /cvsroot/pgsql/contrib/pgcrypto/openssl.c,v retrieving revision 1.13.4.1 diff -c -c -r1.13.4.1 openssl.c *** contrib/pgcrypto/openssl.c 12 Mar 2005 06:54:31 -0000 1.13.4.1 --- contrib/pgcrypto/openssl.c 4 Jul 2005 14:30:12 -0000 *************** *** 35,40 **** --- 35,54 ---- #include <openssl/evp.h> + #include <openssl/evp.h> + #include <openssl/blowfish.h> + #include <openssl/cast.h> + #include <openssl/des.h> + + /* + * Does OpenSSL support AES? + */ + #undef GOT_AES + #if OPENSSL_VERSION_NUMBER >= 0x00907000L + #define GOT_AES + #include <openssl/aes.h> + #endif + /* * Hashes */
В списке pgsql-patches по дате отправления: