diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2015-01-19 18:20:17 +0200 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2015-01-19 18:20:17 +0200 |
commit | 4d1a474347bdaf3b943ecc393d61bfc630550702 (patch) | |
tree | 90c35b2c5dca07f8a729dcd90b3301e345734ad1 /lib/reqsign.c | |
parent | 4d1258de786a83888d123f4e8f791f1ad6ecf605 (diff) | |
download | eclat-4d1a474347bdaf3b943ecc393d61bfc630550702.tar.gz eclat-4d1a474347bdaf3b943ecc393d61bfc630550702.tar.bz2 |
Bugfix
* lib/reqsign.c (eclat_hex_encode): add terminating zero
Diffstat (limited to 'lib/reqsign.c')
-rw-r--r-- | lib/reqsign.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/reqsign.c b/lib/reqsign.c index 4250907..575ccd0 100644 --- a/lib/reqsign.c +++ b/lib/reqsign.c @@ -142,6 +142,7 @@ eclat_hex_encode(unsigned char *input, size_t inlen, *p++ = xdig[c >> 4]; *p++ = xdig[c & 0xf]; } + *p = 0; } /* Ref. http://docs.aws.amazon.com/general/latest/gr/sigv4-create-canonical-request.html |