| 282 |
|
%token SQUIT |
| 283 |
|
%token SSL_CERTIFICATE_FILE |
| 284 |
|
%token SSL_CERTIFICATE_FINGERPRINT |
| 285 |
+ |
%token SSL_CONNECTION_REQUIRED |
| 286 |
|
%token SSL_DH_PARAM_FILE |
| 287 |
|
%token STATS_E_DISABLED |
| 288 |
|
%token STATS_I_OPER_ONLY |
| 1088 |
|
oper_item: oper_name | oper_user | oper_password | |
| 1089 |
|
oper_umodes | oper_class | oper_encrypted | |
| 1090 |
|
oper_rsa_public_key_file | oper_ssl_certificate_fingerprint | |
| 1091 |
+ |
oper_ssl_connection_required | |
| 1092 |
|
oper_flags | error ';' ; |
| 1093 |
|
|
| 1094 |
|
oper_name: NAME '=' QSTRING ';' |
| 1132 |
|
strlcpy(block_state.cert.buf, yylval.string, sizeof(block_state.cert.buf)); |
| 1133 |
|
}; |
| 1134 |
|
|
| 1135 |
+ |
oper_ssl_connection_required: SSL_CONNECTION_REQUIRED '=' TBOOL ';' |
| 1136 |
+ |
{ |
| 1137 |
+ |
if (conf_parser_ctx.pass != 2) |
| 1138 |
+ |
break; |
| 1139 |
+ |
|
| 1140 |
+ |
if (yylval.number) |
| 1141 |
+ |
block_state.flags.value |= CONF_FLAGS_SSL; |
| 1142 |
+ |
else |
| 1143 |
+ |
block_state.flags.value &= ~CONF_FLAGS_SSL; |
| 1144 |
+ |
}; |
| 1145 |
+ |
|
| 1146 |
|
oper_class: CLASS '=' QSTRING ';' |
| 1147 |
|
{ |
| 1148 |
|
if (conf_parser_ctx.pass == 2) |