lib/fetch/common.c: simplify ssl_init().

This commit is contained in:
Juan RP 2016-04-24 19:20:54 +02:00
parent 137a4db5b4
commit adcc6d16a4

View File

@ -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