ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/branches/8.2.x/src/conf_parser.c
(Generate patch)

Comparing ircd-hybrid/branches/8.2.x/src/conf_parser.c (file contents):
Revision 4253 by michael, Fri Jul 18 19:05:01 2014 UTC vs.
Revision 4255 by michael, Fri Jul 18 20:35:42 2014 UTC

# Line 3677 | Line 3677 | yyreduce:
3677  
3678        if ((file = BIO_new_file(block_state.file.buf, "r")) == NULL)
3679        {
3680 <        conf_error_report("Ignoring rsa_public_key_file -- file doesn't exist");
3680 >        ilog(LOG_TYPE_IRCD, "Ignoring rsa_public_key_file -- file doesn't exist");
3681          break;
3682        }
3683  
3684        if ((pkey = PEM_read_bio_RSA_PUBKEY(file, NULL, 0, NULL)) == NULL)
3685 <        conf_error_report("Ignoring rsa_public_key_file -- key invalid; check key syntax.");
3685 >        ilog(LOG_TYPE_IRCD, "Ignoring rsa_public_key_file -- key invalid; check key syntax");
3686  
3687 <      if (RSA_size(ServerInfo.rsa_private_key) > 128)
3688 <        conf_error_report("Ignoring rsa_public_key_file -- key size must be 1024 or below");
3687 >      if (RSA_size(pkey) > 128)
3688 >        ilog(LOG_TYPE_IRCD, "Ignoring rsa_public_key_file -- key size must be 1024 or below");
3689        else
3690          conf->rsa_public_key = pkey;
3691  

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)