Use OpenSSL-specific ifdefs in sha2.h

Michael Paquier <michael@paquier.xyz>

Commit: 96719e52b1abd3a8c712d06a809b7e6c97c2e3a0
Author: Michael Paquier <michael@paquier.xyz>
Date: 2019-06-14T00:00:36Z
Releases: 12.0
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

Files

PathChange+/−
src/include/common/sha2.h modified +3 −3

Discussion