diff options
author | Werner Koch <wk@gnupg.org> | 2009-02-16 21:05:37 +0000 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2009-02-16 21:05:37 +0000 |
commit | 9ecd705ab395d6fa9c192471fe81dc160dfeafac (patch) | |
tree | 0ea203f7807d5671d8da3b3c699c1054f844ddb8 /tests | |
parent | ba1c1d7456745adbd3b6b94bc935cacc914126eb (diff) | |
download | libgcrypt-9ecd705ab395d6fa9c192471fe81dc160dfeafac.tar.gz |
Portability fixes.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/ChangeLog | 5 | ||||
-rw-r--r-- | tests/fipsdrv.c | 6 |
2 files changed, 8 insertions, 3 deletions
diff --git a/tests/ChangeLog b/tests/ChangeLog index bce3e8d7..4ff10a87 100644 --- a/tests/ChangeLog +++ b/tests/ChangeLog @@ -1,3 +1,8 @@ +2009-02-16 Werner Koch <wk@g10code.com> + + * fipsdrv.c (print_buffer): Remove parens from initializer for + better portability. Reported by Dan Fandrich. + 2009-02-13 Werner Koch <wk@g10code.com> * rsacvt.c (compute_missing): Fix dqm1 computation. Take care of diff --git a/tests/fipsdrv.c b/tests/fipsdrv.c index f80e30c8..29ceedde 100644 --- a/tests/fipsdrv.c +++ b/tests/fipsdrv.c @@ -797,9 +797,9 @@ print_buffer (const void *buffer, size_t length) if (base64_output) { static const unsigned char bintoasc[64+1] = - ("ABCDEFGHIJKLMNOPQRSTUVWXYZ" - "abcdefghijklmnopqrstuvwxyz" - "0123456789+/"); + "ABCDEFGHIJKLMNOPQRSTUVWXYZ" + "abcdefghijklmnopqrstuvwxyz" + "0123456789+/"; const unsigned char *p; unsigned char inbuf[4]; char outbuf[4]; |