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.

33 lines
792 B

  1. From 5472ebd501c0558a9434a11b309f3b6a314c2168 Mon Sep 17 00:00:00 2001
  2. From: Rosen Penev <rosenp@gmail.com>
  3. Date: Wed, 7 Nov 2018 16:58:42 -0800
  4. Subject: [PATCH] session: Remove engine.h include
  5. OpenSSL's engine API is not used except for a cleanup call.
  6. ---
  7. src/session.c | 2 --
  8. 1 file changed, 2 deletions(-)
  9. diff --git a/src/session.c b/src/session.c
  10. index edf1bb4..fe90fa9 100644
  11. --- a/src/session.c
  12. +++ b/src/session.c
  13. @@ -36,7 +36,6 @@
  14. #if defined(NC_ENABLED_SSH) || defined(NC_ENABLED_TLS)
  15. -# include <openssl/engine.h>
  16. # include <openssl/conf.h>
  17. # include <openssl/err.h>
  18. @@ -1296,7 +1295,6 @@ static void
  19. nc_ssh_destroy(void)
  20. {
  21. FIPS_mode_set(0);
  22. - ENGINE_cleanup();
  23. CONF_modules_unload(1);
  24. nc_thread_destroy();
  25. ssh_finalize();
  26. --
  27. 2.19.1