diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/methods/generic_gcm/generic_gcm.c | 4 |
1 files 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); |