/[svn]/ircd-hybrid/branches/8.2.x/src/conf_parser.y
ViewVC logotype

Diff of /ircd-hybrid/branches/8.2.x/src/conf_parser.y

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 4622 by michael, Sun Aug 24 10:24:47 2014 UTC revision 4623 by michael, Sun Sep 21 08:41:04 2014 UTC
# Line 492  serverinfo_ssl_certificate_file: SSL_CER Line 492  serverinfo_ssl_certificate_file: SSL_CER
492        break;        break;
493      }      }
494    
495      if (SSL_CTX_use_certificate_file(ConfigServerInfo.server_ctx, yylval.string,      if (SSL_CTX_use_certificate_chain_file(ConfigServerInfo.server_ctx, yylval.string) <= 0 ||
496                                       SSL_FILETYPE_PEM) <= 0 ||          SSL_CTX_use_certificate_chain_file(ConfigServerInfo.client_ctx, yylval.string) <= 0)
         SSL_CTX_use_certificate_file(ConfigServerInfo.client_ctx, yylval.string,  
                                      SSL_FILETYPE_PEM) <= 0)  
497      {      {
498        report_crypto_errors();        report_crypto_errors();
499        conf_error_report("Could not open/read certificate file");        conf_error_report("Could not open/read certificate file");

Legend:
Removed from v.4622  
changed lines
  Added in v.4623

svnadmin@ircd-hybrid.org
ViewVC Help
Powered by ViewVC 1.1.28