mirror of
https://github.com/haiwen/ccnet-server.git
synced 2025-09-12 12:59:18 +00:00
Fix compilation with openssl 1.1.0.
This commit is contained in:
@@ -162,7 +162,7 @@ main(int argc, char **argv)
|
||||
|
||||
config_dir = ccnet_expand_path (config_dir);
|
||||
/* printf("[conf_dir=%s\n]", config_dir); */
|
||||
SSLeay_add_all_algorithms();
|
||||
OpenSSL_add_all_algorithms();
|
||||
|
||||
if (RAND_status() != 1) { /* it should be seeded automatically */
|
||||
fprintf(stderr, "PRNG is not seeded\n");
|
||||
|
Reference in New Issue
Block a user