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

Comparing ircd-hybrid/branches/8.2.x/src/conf_parser.y (file contents):
Revision 9126 by michael, Mon Jan 6 16:06:59 2020 UTC vs.
Revision 9138 by michael, Sat Jan 11 22:46:37 2020 UTC

# Line 340 | Line 340 | reset_block_state(void)
340   %token  THROTTLE_COUNT
341   %token  THROTTLE_TIME
342   %token  TIMEOUT
343 + %token  TLS_CIPHER_SUITES
344   %token  TMASKED
345   %token  TS_MAX_DELTA
346   %token  TS_WARN_DELTA
# Line 455 | Line 456 | serverinfo_item:        serverinfo_name
456                          serverinfo_sid |
457                          serverinfo_ssl_certificate_file |
458                          serverinfo_ssl_cipher_list |
459 +                        serverinfo_tls_cipher_suites |
460                          serverinfo_ssl_message_digest_algorithm |
461                          error ';' ;
462  
# Line 495 | Line 497 | serverinfo_ssl_cipher_list: T_SSL_CIPHER
497    }
498   };
499  
500 + serverinfo_tls_cipher_suites: TLS_CIPHER_SUITES '=' QSTRING ';'
501 + {
502 +  if (conf_parser_ctx.pass == 2)
503 +  {
504 +    xfree(ConfigServerInfo.tls_cipher_suites);
505 +    ConfigServerInfo.tls_cipher_suites = xstrdup(yylval.string);
506 +  }
507 + };
508 +
509   serverinfo_ssl_message_digest_algorithm: SSL_MESSAGE_DIGEST_ALGORITHM '=' QSTRING ';'
510   {
511    if (conf_parser_ctx.pass == 2)

Diff Legend

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