Skip to content

Commit

Permalink
Added extra log message on openssl 1.0.1e-fips bug.
Browse files Browse the repository at this point in the history
If CRYPTO_set_mem_functions() fails, make a note on the openssl 1.0.1e-fips bug, so users may have a hint on the actual issue.
See more  #834.
Closes  #834.
  • Loading branch information
bogdan-iancu committed May 23, 2016
1 parent 2fe0ef7 commit c5bb0d0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions modules/tls_mgm/tls_mgm.c
Expand Up @@ -1274,6 +1274,9 @@ static int mod_init(void){
*/
if (!CRYPTO_set_mem_functions(os_malloc, os_realloc, os_free)) {
LM_ERR("unable to set the memory allocation functions\n");
LM_ERR("NOTE: check if you have openssl 1.0.1e-fips, as this "
"version is know to be broken; if so, you need to upgrade or "
"downgrade to a differen openssl version !!\n");
return -1;
}

Expand Down

0 comments on commit c5bb0d0

Please sign in to comment.