diff options
Diffstat (limited to 'src/config.y')
-rw-r--r-- | src/config.y | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/config.y b/src/config.y index ffc719d..ca2d8de 100644 --- a/src/config.y +++ b/src/config.y @@ -177,7 +177,6 @@ statement: peer_group_statement | TOK_MODE mode ';' | TOK_PROTOCOL protocol ';' | TOK_METHOD method ';' - | TOK_CRYPTO crypto ';' | TOK_SECRET secret ';' | TOK_ON TOK_PRE_UP on_pre_up ';' | TOK_ON TOK_UP on_up ';' @@ -357,14 +356,6 @@ method: TOK_STRING { } ; -crypto: TOK_STRING TOK_USE TOK_STRING { - if (!fastd_config_crypto(ctx, conf, $1->str, $3->str)) { - fastd_config_error(&@$, ctx, conf, filename, depth, "invalid crypto algorithm/implementation"); - YYERROR; - } - } - ; - secret: TOK_STRING { free(conf->secret); conf->secret = strdup($1->str); } ; |