From 4496be6e29732189769b78f63e491dacb23c961b Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Sat, 2 Nov 2013 16:01:16 +0100 Subject: Convert ghash to the new crypto algorithm scheme --- src/config.y | 9 --------- 1 file changed, 9 deletions(-) (limited to 'src/config.y') 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); } ; -- cgit v1.2.3