From af90494cf1ef40a4e00b9a81d0db4f2690e099a0 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Mon, 18 Nov 2013 03:46:55 +0100 Subject: generic-gcm: cipher_get returns a boolean --- src/methods/generic_gcm/generic_gcm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/methods/generic_gcm/generic_gcm.c b/src/methods/generic_gcm/generic_gcm.c index d40c7cb..4c111ce 100644 --- a/src/methods/generic_gcm/generic_gcm.c +++ b/src/methods/generic_gcm/generic_gcm.c @@ -49,10 +49,10 @@ static bool cipher_get(fastd_context_t *ctx, const char *name, const fastd_ciphe size_t len = strlen(name); if (len < 4) - return NULL; + return false; if (strcmp(name+len-4, "-gcm")) - return NULL; + return false; char name_ctr[len+1]; memcpy(name_ctr, name, len-3); -- cgit v1.2.3