summaryrefslogtreecommitdiffstats
path: root/src/config.y
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2013-11-02 16:01:16 +0100
committerMatthias Schiffer <mschiffer@universe-factory.net>2013-11-02 16:01:16 +0100
commit4496be6e29732189769b78f63e491dacb23c961b (patch)
tree5882550f4cf9b516fdd613bbaf4535a7f59d981a /src/config.y
parent20a95ef2731ce21acfe5c1ba97b40001217b0216 (diff)
downloadfastd-4496be6e29732189769b78f63e491dacb23c961b.tar
fastd-4496be6e29732189769b78f63e491dacb23c961b.zip
Convert ghash to the new crypto algorithm scheme
Diffstat (limited to 'src/config.y')
-rw-r--r--src/config.y9
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); }
;