eet: Fix 'No OPENSSL_Applink' error message.
authorJoão Paulo Taylor Ienczak Zanette <jpaulotiz@gmail.com>
Mon, 10 Aug 2020 23:08:42 +0000 (23:08 +0000)
committerJongmin Lee <jm105.lee@samsung.com>
Wed, 19 Aug 2020 21:10:08 +0000 (06:10 +0900)
commit316ed2ec5a025364b830fb4f18bf0880d251c1de
treec845db60c05275f97d17bcdde80904e720ca5770
parent96f67d1525630f1a18f0c9a17a76179feca770d4
eet: Fix 'No OPENSSL_Applink' error message.

In some systems (such as Windows), OpenSSL raises an error about "No Applink"
(see ["I've compiled a program under Windows and it crashes: why?" in OpenSSL
FAQ](https://www.openssl.org/docs/faq.html#PROG3)). Including only
openssl/applink.c didn't work, so the solution was to replace `FILE*`
interfaces with OpenSSL's BIO API which also contains file operations.

Reviewed-by: Cedric BAIL <cedric.bail@free.fr>
Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org>
Differential Revision: https://phab.enlightenment.org/D12103
src/lib/eet/eet_cipher.c