We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bee9aef commit a3ff1aaCopy full SHA for a3ff1aa
contrib/pgcrypto/openssl.c
@@ -26,7 +26,7 @@
26
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27
* SUCH DAMAGE.
28
*
29
- * $PostgreSQL: pgsql/contrib/pgcrypto/openssl.c,v 1.18 2005/07/03 02:32:56 momjian Exp $
+ * $PostgreSQL: pgsql/contrib/pgcrypto/openssl.c,v 1.19 2005/07/04 02:02:01 momjian Exp $
30
*/
31
32
#include <postgres.h>
@@ -39,11 +39,12 @@
39
#include <openssl/des.h>
40
41
/*
42
- * Is OpenSSL compiled with AES?
+ * Does OpenSSL support AES?
43
44
#undef GOT_AES
45
-#ifdef AES_ENCRYPT
+#if OPENSSL_VERSION_NUMBER >= 0x00907000L
46
#define GOT_AES
47
+#include <openssl/aes.h>
48
#endif
49
50
0 commit comments