Fix pgcrypto compilation with OpenSSL 1.1.0.
Heikki Linnakangas <heikki.linnakangas@iki.fi>
Fix pgcrypto compilation with OpenSSL 1.1.0. Was broken by the switch to using OpenSSL's EVP interface for ciphers, in commit 5ff4a67f. Reported by Andres Freund. Fix by Michael Paquier with some kibitzing by me. Discussion: https://www.postgresql.org/message-id/20161201014826.ic72tfkahmevpwz7@alap3.anarazel.de
Files
| Path | Change | +/− |
|---|---|---|
| contrib/pgcrypto/openssl.c | modified | +139 −49 |
| contrib/pgcrypto/pgp-encrypt.c | modified | +2 −0 |
Discussion
- pgcrypto compilation error due to stack-allocated EVP_CIPHER_CTX 15 messages · 2016-12-01 → 2016-12-12