lib/fetch/common.c: simplify ssl_init().
This commit is contained in:
parent
137a4db5b4
commit
adcc6d16a4
@ -940,11 +940,8 @@ static void
|
|||||||
ssl_init(void)
|
ssl_init(void)
|
||||||
{
|
{
|
||||||
/* Init the SSL library and context */
|
/* Init the SSL library and context */
|
||||||
if (!SSL_library_init()){
|
|
||||||
fprintf(stderr, "SSL library init failed\n");
|
|
||||||
exit(-1);
|
|
||||||
}
|
|
||||||
SSL_load_error_strings();
|
SSL_load_error_strings();
|
||||||
|
SSL_library_init();
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user