diff options
| -rw-r--r-- | jwt.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -137,7 +137,7 @@ int jwt_check(const char *const jwt, const void *const key, const size_t n) else if (!(dhmac = base64_decode(p + 1, &hmaclen))) { fprintf(stderr, "%s: base64_decode failed\n", __func__); - return -1; + return 1; } const int r = memcmp(dhmac, hmac, hmaclen); |
