mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
[ssl] Show OpenSSL version
This commit is contained in:
parent
c019efba2c
commit
7935a4f2aa
@ -77,6 +77,8 @@ socket_SSL_ex_data_dup(CRYPTO_EX_DATA *to, const CRYPTO_EX_DATA *from,
|
||||
return 1; /* allow SSL_dup() */
|
||||
}
|
||||
|
||||
static char opensslversion[64];
|
||||
|
||||
static void
|
||||
init_openssl(struct module *module)
|
||||
{
|
||||
@ -105,6 +107,8 @@ init_openssl(struct module *module)
|
||||
NULL,
|
||||
socket_SSL_ex_data_dup,
|
||||
NULL);
|
||||
strncpy(opensslversion, SSLeay_version(OPENSSL_VERSION), 63);
|
||||
module->name = opensslversion;
|
||||
}
|
||||
|
||||
static void
|
||||
|
Loading…
Reference in New Issue
Block a user