server config UPDATE wrap TLS
diff --git a/src/server_config.c b/src/server_config.c
index 0207d75..d7f1f72 100644
--- a/src/server_config.c
+++ b/src/server_config.c
@@ -26,13 +26,6 @@
 #include <libyang/libyang.h>
 #include <libyang/tree_data.h>
 
-#ifdef NC_ENABLED_SSH_TLS
-#include <openssl/err.h>
-#include <openssl/evp.h> // EVP_PKEY_free
-#include <openssl/x509.h> // d2i_PUBKEY
-#include <openssl/x509_vfy.h> // X509_STORE_free
-#endif
-
 #include "compat.h"
 #include "config.h"
 #include "log_p.h"
@@ -840,7 +833,6 @@
 
     free(opts->crl_path);
     free(opts->crl_url);
-    X509_STORE_free(opts->crl_store);
 
     nc_server_config_del_ctns(opts);
     free(opts->ciphers);