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/xsalsa20_poly1305/xsalsa20_poly1305.c | |
parent | 7a3c8bee42879add84a143ff98f28cbd0251dc7b (diff) | |
download | fastd-20a95ef2731ce21acfe5c1ba97b40001217b0216.tar fastd-20a95ef2731ce21acfe5c1ba97b40001217b0216.zip |
Convert aes128-gcm into a generic gcm method
Diffstat (limited to 'src/methods/xsalsa20_poly1305/xsalsa20_poly1305.c')
-rw-r--r-- | src/methods/xsalsa20_poly1305/xsalsa20_poly1305.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/methods/xsalsa20_poly1305/xsalsa20_poly1305.c b/src/methods/xsalsa20_poly1305/xsalsa20_poly1305.c index 220e913..45bdc14 100644 --- a/src/methods/xsalsa20_poly1305/xsalsa20_poly1305.c +++ b/src/methods/xsalsa20_poly1305/xsalsa20_poly1305.c @@ -37,7 +37,7 @@ struct fastd_method_session_state { }; -static bool method_provides(fastd_context_t *ctx UNUSED, const char *name) { +static bool method_provides(const char *name) { return !strcmp(name, "xsalsa20-poly1305"); } |