[PATCH] Fix declaration of PQgetssl

Started by Martijn van Oosterhoutover 20 years ago2 messagespatches
Jump to latest
#1Martijn van Oosterhout
kleptog@svana.org

Here's the tiny patch so libpq users don't have to include the openssl
headers in their programs.
--
Martijn van Oosterhout <kleptog@svana.org> http://svana.org/kleptog/

Show quoted text

Patent. n. Genius is 5% inspiration and 95% perspiration. A patent is a
tool for doing 5% of the work and then sitting around waiting for someone
else to do the other 95% so you can sue them.

Attachments:

ssl1.patchtext/plain; charset=us-asciiDownload+4-12
#2Bruce Momjian
bruce@momjian.us
In reply to: Martijn van Oosterhout (#1)
Re: [PATCH] Fix declaration of PQgetssl

Patch applied. Thanks. Because this is just doing:

Change libpq's PQgetssl() to return a void*, rather than SSL *, so that
applications don't need the SSL headers.

I don't think we have to change the libpq major version number.

---------------------------------------------------------------------------

Martijn van Oosterhout wrote:
-- Start of PGP signed section.

Here's the tiny patch so libpq users don't have to include the openssl
headers in their programs.
--
Martijn van Oosterhout <kleptog@svana.org> http://svana.org/kleptog/

Patent. n. Genius is 5% inspiration and 95% perspiration. A patent is a
tool for doing 5% of the work and then sitting around waiting for someone
else to do the other 95% so you can sue them.

[ Attachment, skipping... ]
-- End of PGP section, PGP failed!

--
Bruce Momjian http://candle.pha.pa.us
EnterpriseDB http://www.enterprisedb.com

+ If your life is a hard drive, Christ can be your backup. +