summaryrefslogtreecommitdiffstats
path: root/src/methods/methods.c.in
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2013-11-02 14:34:01 +0100
committerMatthias Schiffer <mschiffer@universe-factory.net>2013-11-02 14:34:01 +0100
commit20a95ef2731ce21acfe5c1ba97b40001217b0216 (patch)
treea41ed017d615a42771113fc9d7ee3df67652620f /src/methods/methods.c.in
parent7a3c8bee42879add84a143ff98f28cbd0251dc7b (diff)
downloadfastd-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.in4
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];
}