X-Git-Url: https://git.gag.com/?a=blobdiff_plain;ds=sidebyside;f=gnulib%2Fbase64.c;h=188b36ac73d1fc4505634584f650a26f7b4e6d98;hb=2627875b7d18858bc1f9f7652811e4d8c15a23eb;hp=f237cd63b4f6c7d77cccf2e1cb4eb28b82510fbd;hpb=fb2bd066c2f8b34addafe48d62550e3033a59431;p=debian%2Famanda diff --git a/gnulib/base64.c b/gnulib/base64.c index f237cd6..188b36a 100644 --- a/gnulib/base64.c +++ b/gnulib/base64.c @@ -4,7 +4,7 @@ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2, or (at your option) + the Free Software Foundation; either version 3, or (at your option) any later version. This program is distributed in the hope that it will be useful, @@ -64,8 +64,8 @@ to_uchar (char ch) possible. If OUTLEN is larger than BASE64_LENGTH(INLEN), also zero terminate the output buffer. */ void -base64_encode (const char *restrict in, size_t inlen, - char *restrict out, size_t outlen) +base64_encode (const char *in, size_t inlen, + char *out, size_t outlen) { static const char b64str[64] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; @@ -310,8 +310,8 @@ isbase64 (char ch) that, when applicable, you must remove any line terminators that is part of the data stream before calling this function. */ bool -base64_decode (const char *restrict in, size_t inlen, - char *restrict out, size_t *outlen) +base64_decode (const char *in, size_t inlen, + char *out, size_t *outlen) { size_t outleft = *outlen;