Text   |  XML   |  ReML   |   Visible Warnings:

Ignored Return Value  at ssl-proxy-openssl.c:899

No properties have been set. | edit properties
Jump to warning location ↓ warning details...
Show Events | Options

ssl_proxy_init

(/home/sate/Testcases/c/cve/dovecot-1.2.0/src/login-common/ssl-proxy-openssl.c)expand/collapse
Show more  
 890  void ssl_proxy_init(void)
 891  {
 892          static char dovecot[] = "dovecot";
 893          const char *certfile, *keyfile;
 894          unsigned char buf;
 895   
 896          memset(&ssl_params, 0, sizeof(ssl_params));
 897   
 898          certfile = getenv("SSL_CERT_FILE");
 899          keyfile = getenv("SSL_KEY_FILE");
 900          ssl_params.fname = getenv("SSL_PARAM_FILE");
 901   
 902          if (certfile == NULL || keyfile == NULL || ssl_params.fname == NULL) {
 903                  /* SSL support is disabled */
 904                  return;
 905          }
 906   
 907          SSL_library_init();
 908          SSL_load_error_strings();
 909   
 910          extdata_index = SSL_get_ex_new_index(0, dovecot, NULL, NULL, NULL);
 911          ssl_proxy_init_server(certfile, keyfile);
 912          ssl_proxy_init_client();
 913   
 914          /* PRNG initialization might want to use /dev/urandom, make sure it 
 915             does it before chrooting. We might not have enough entropy at 
 916             the first try, so this function may fail. It's still been
 917             initialized though. */
 918          (void)RAND_bytes(&buf, 1);
 919   
 920          ssl_proxy_count = 0;
 921          ssl_proxies = NULL;
 922          ssl_initialized = TRUE;
 923  }
Show more  




Change Warning 8187.26100 : Ignored Return Value

Priority:
State:
Finding:
Owner:
Note: