yourivw / LEClient

An easy-to-use PHP ACME v2 client library, designed to be used with LetsEncrypt.
MIT License
204 stars 98 forks source link

openssl_pkey_free is deprecated #117

Open EtienneBruines opened 3 years ago

EtienneBruines commented 3 years ago
Function openssl_pkey_free() is deprecated

Stacktrace:

Screenshot_20210819_120612

Fix:

Simply do not call the function if the PHP version is 8 or higher.

Background information:

The PHP commit that describes this: https://github.com/php/php-src/commit/9f44eca6b60f8073dc9e2aa31154f9d70b42938d