summaryrefslogtreecommitdiffstats
path: root/src/fastd.h
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2013-11-02 13:23:12 +0100
committerMatthias Schiffer <mschiffer@universe-factory.net>2013-11-02 13:23:12 +0100
commitf2c2f2926bce65c5c09d274c514d382ffd98f78c (patch)
tree582fa48dd067aebf851df20e765d114affc93528 /src/fastd.h
parent20ee3b5a4f110f53a73746e18fc0eb0cbbb7845c (diff)
downloadfastd-f2c2f2926bce65c5c09d274c514d382ffd98f78c.tar
fastd-f2c2f2926bce65c5c09d274c514d382ffd98f78c.zip
Correctly handle ciphers without implementation
Diffstat (limited to 'src/fastd.h')
-rw-r--r--src/fastd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fastd.h b/src/fastd.h
index be4cf11..2607322 100644
--- a/src/fastd.h
+++ b/src/fastd.h
@@ -367,7 +367,7 @@ bool fastd_cipher_config(const fastd_cipher_t **cipher_conf, const char *name, c
void fastd_cipher_init(fastd_context_t *ctx);
void fastd_cipher_free(fastd_context_t *ctx);
-bool fastd_cipher_get_by_name(fastd_context_t *ctx, const char *name, const fastd_cipher_t **cipher, fastd_cipher_context_t **cctx);
+const fastd_cipher_t* fastd_cipher_get_by_name(fastd_context_t *ctx, const char *name, fastd_cipher_context_t **cctx);
bool fastd_config_protocol(fastd_context_t *ctx, fastd_config_t *conf, const char *name);
bool fastd_config_method(fastd_context_t *ctx, fastd_config_t *conf, const char *name);