diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2013-11-02 14:34:01 +0100 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2013-11-02 14:34:01 +0100 |
commit | 20a95ef2731ce21acfe5c1ba97b40001217b0216 (patch) | |
tree | a41ed017d615a42771113fc9d7ee3df67652620f /src/methods/methods.c.in | |
parent | 7a3c8bee42879add84a143ff98f28cbd0251dc7b (diff) | |
download | fastd-20a95ef2731ce21acfe5c1ba97b40001217b0216.tar fastd-20a95ef2731ce21acfe5c1ba97b40001217b0216.zip |
Convert aes128-gcm into a generic gcm method
Diffstat (limited to 'src/methods/methods.c.in')
-rw-r--r-- | src/methods/methods.c.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/methods/methods.c.in b/src/methods/methods.c.in index f39fbc1..8a8958c 100644 --- a/src/methods/methods.c.in +++ b/src/methods/methods.c.in @@ -33,10 +33,10 @@ static const fastd_method_t *const methods[] = { @METHOD_LIST@ }; -const fastd_method_t* fastd_method_get_by_name(fastd_context_t *ctx, const char *name) { +const fastd_method_t* fastd_method_get_by_name(const char *name) { size_t i; for (i = 0; i < array_size(methods); i++) { - if (methods[i]->provides(ctx, name)) + if (methods[i]->provides(name)) return methods[i]; } |