pgsql: Use OpenSSL-specific ifdefs in sha2.h

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

pgsql: Use OpenSSL-specific ifdefs in sha2.h

Michael Paquier-2
Use OpenSSL-specific ifdefs in sha2.h

In order to separate OpenSSL's SHA symbols, this header has been using
USE_SSL, which is equivalent to USE_OPENSSL.  There is now only one SSL
implementation included in the tree, so this works fine, but when
adding a new SSL implementation this would run into failures.

Author: Daniel Gustafsson
Discussion: https://postgr.es/m/0DF29010-CE26-4F51-85A6-9C8ABF5536F9@...

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/96719e52b1abd3a8c712d06a809b7e6c97c2e3a0

Modified Files
--------------
src/include/common/sha2.h | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)