Skip to content

Commit

Permalink
Cleanup OpenSSL state when module is unloaded
Browse files Browse the repository at this point in the history
  • Loading branch information
prefiks committed Jun 27, 2016
1 parent 3d09f86 commit b98330b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions c_src/fast_tls_drv.c
Expand Up @@ -346,6 +346,9 @@ static void tls_drv_finish()
}

driver_free(ht.buckets);
#if OPENSSL_VERSION_NUMBER >= 0x10100000L
OPENSSL_cleanup();
#endif
}

static int is_modified(char *file, time_t *known_mtime)
Expand Down

0 comments on commit b98330b

Please sign in to comment.