Commit 8d3e711e authored by Geoff Simmons's avatar Geoff Simmons Committed by Pål Hermunn Johansen

VMOD blob: use sentinel values that are strictly signed char in the

decode table for base64.
parent 6b9b625e
......@@ -28,8 +28,8 @@
#include "vmod_blob.h"
#define ILL ((int8_t) -1)
#define PAD ((int8_t) -2)
#define ILL ((int8_t) 127)
#define PAD ((int8_t) 126)
static const struct b64_alphabet {
const char b64[64];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment