]> granicus.if.org Git - postgresql/commit
Use OpenSSL-specific ifdefs in sha2.h
authorMichael Paquier <michael@paquier.xyz>
Fri, 14 Jun 2019 00:00:36 +0000 (09:00 +0900)
committerMichael Paquier <michael@paquier.xyz>
Fri, 14 Jun 2019 00:00:36 +0000 (09:00 +0900)
commit96719e52b1abd3a8c712d06a809b7e6c97c2e3a0
tree26b4a5f0d7571c24e5d49a2ff82ea77c85be9ccb
parentd25ea0127598dd0ad27a029215172f396fbd1009
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@yesql.se
src/include/common/sha2.h