imap-send: use HMAC() function provided by OpenSSL
authorKazuki Yamaguchi <redacted>
Fri, 8 Apr 2016 16:22:13 +0000 (01:22 +0900)
committerJunio C Hamano <redacted>
Fri, 8 Apr 2016 18:45:47 +0000 (11:45 -0700)
commit1ed2c7b11570f5d16bdc70d151fa78c3dccf6d38
tree9fb56716945fd446dea3bb37401559766c3816cf
parente46579643d56162299b1756b70d418005351b256
imap-send: use HMAC() function provided by OpenSSL

Fix compile errors with OpenSSL 1.1.0.

HMAC_CTX is made opaque and HMAC_CTX_cleanup is removed in OpenSSL
1.1.0. But since we just want to calculate one HMAC, we can use HMAC()
here, which exists since OpenSSL 0.9.6 at least.

Signed-off-by: Kazuki Yamaguchi <redacted>
Signed-off-by: Junio C Hamano <redacted>
compat/apple-common-crypto.h
imap-send.c
git clone https://git.99rst.org/PROJECT