You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
463 B

  1. --- a/examples/ldns-signzone.c
  2. +++ b/examples/ldns-signzone.c
  3. @@ -535,6 +535,7 @@ init_openssl_engine ( const char * const
  4. static void
  5. shutdown_openssl ( ENGINE * const e )
  6. {
  7. +#if OPENSSL_VERSION_NUMBER < 0x10100000 || defined(HAVE_LIBRESSL)
  8. if ( e != NULL ) {
  9. ENGINE_free ( e );
  10. ENGINE_cleanup ();
  11. @@ -544,6 +545,7 @@ shutdown_openssl ( ENGINE * const e )
  12. EVP_cleanup ();
  13. CRYPTO_cleanup_all_ex_data ();
  14. ERR_free_strings ();
  15. +#endif
  16. }
  17. #endif