summaryrefslogtreecommitdiff
path: root/test/bftest.c
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2016-04-29 10:56:20 +0100
committerMatt Caswell <matt@openssl.org>2016-04-29 15:04:15 +0100
commit97a982e2eee2e04e8e41ae12665af417315a0f23 (patch)
treeb51cc91f14d545cdc80ab64ad202457a5f181e44 /test/bftest.c
parent4cd5c3f4eef81c791a5041dc17ec27aa08540e42 (diff)
downloadopenssl-new-97a982e2eee2e04e8e41ae12665af417315a0f23.tar.gz
Fix the tests to work with EBCDIC
Most of the tests already pass with EBCIDC but a few were trying to write into read only memory. Reviewed-by: Andy Polyakov <appro@openssl.org>
Diffstat (limited to 'test/bftest.c')
-rw-r--r--test/bftest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/bftest.c b/test/bftest.c
index b5e6c5144d..eb6ab3b158 100644
--- a/test/bftest.c
+++ b/test/bftest.c
@@ -80,7 +80,7 @@ int main(int argc, char *argv[])
# include <openssl/ebcdic.h>
# endif
-static char *bf_key[2] = {
+static char bf_key[2][30] = {
"abcdefghijklmnopqrstuvwxyz",
"Who is John Galt?"
};