diff options
| author | Sam Varshavchik | 2022-03-13 21:10:44 -0400 |
|---|---|---|
| committer | Sam Varshavchik | 2022-04-16 19:59:47 -0400 |
| commit | 867cce4e32e7e64651887664724aa7f06566cb4b (patch) | |
| tree | 8cd198902ea0c51ca955e1bc60d4756008c74818 /tcpd/tlspasswordcache.c | |
| parent | a86c03a704830534340347f0f4438e32fdb8ea50 (diff) | |
| download | courier-libs-867cce4e32e7e64651887664724aa7f06566cb4b.tar.bz2 | |
all: scripts to create installable *.deb packages.
Diffstat (limited to 'tcpd/tlspasswordcache.c')
| -rw-r--r-- | tcpd/tlspasswordcache.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tcpd/tlspasswordcache.c b/tcpd/tlspasswordcache.c index e26b72e..a5de624 100644 --- a/tcpd/tlspasswordcache.c +++ b/tcpd/tlspasswordcache.c @@ -382,6 +382,10 @@ typedef EVP_CIPHER_CTX CIPHER_CONTEXT; int tlspassword_init() { +#if HAVE_GCRYPT + if (!gcry_control(GCRYCTL_INITIALIZATION_FINISHED_P)) + gcry_check_version(NULL); +#endif return 1; } |
