arqbackup / arq_restore

command-line utility for restoring from Arq backups
https://www.arqbackup.com
649 stars 129 forks source link

Fix compiler error with OpenSSL 1.1 #49

Open mroi opened 2 years ago

mroi commented 2 years ago

This change fixes a compilation error when using OpenSSL 1.1.

The installation instructions recommend OpenSSL 1.0.2, but this version has long been out of support. I tried to compile against OpenSSL 1.1, but received errors regarding the use of EVP_CIPHER_CTX. This is now an opaque struct, which can only be used by pointer.