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
   */
