mirror of
https://github.com/postgres/postgres.git
synced 2026-04-09 19:16:17 -04:00
Backpatch to 8.0.X openssl portability fixes to pgcrypto.
This commit is contained in:
parent
0a056c3716
commit
75aed9f0c2
1 changed files with 13 additions and 1 deletions
|
|
@ -26,7 +26,7 @@
|
|||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $PostgreSQL: pgsql/contrib/pgcrypto/openssl.c,v 1.13.4.1 2005/03/12 06:54:31 neilc Exp $
|
||||
* $PostgreSQL: pgsql/contrib/pgcrypto/openssl.c,v 1.13.4.2 2005/07/04 14:42:39 momjian Exp $
|
||||
*/
|
||||
|
||||
#include <postgres.h>
|
||||
|
|
@ -34,7 +34,19 @@
|
|||
#include "px.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
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in a new issue