Fix incorrect HAVE_OPENSSL_ALPN testing (dotnet/corefx#25014)
authorJan Vorlicek <janvorli@microsoft.com>
Thu, 2 Nov 2017 21:09:36 +0000 (14:09 -0700)
committerStephen Toub <stoub@microsoft.com>
Thu, 2 Nov 2017 21:09:36 +0000 (17:09 -0400)
commit421ff18d5d861a741f5a88aef8197ce9cc7c655e
treed07ea65f56bd8f81e5f1ea27163fd1358ea6fe4d
parent81507c2c5020b37dda70a54b71613db76d3e5958
Fix incorrect HAVE_OPENSSL_ALPN testing (dotnet/corefx#25014)

This define is incorrectly tested using #ifdef instead of #if, so build
on e.g. Ubuntu 14.04 where this symbol is set to zero fails.

Commit migrated from https://github.com/dotnet/corefx/commit/cfef66e228c6f96caa23fb8f2652f694f2ae250e
src/libraries/Native/Unix/System.Security.Cryptography.Native/pal_ssl.cpp