artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1b3c96d
)
Use correct type for tmp in test_write_bytes()
author
tb
<tb@openbsd.org>
Sun, 4 Apr 2021 19:55:46 +0000
(19:55 +0000)
committer
tb
<tb@openbsd.org>
Sun, 4 Apr 2021 19:55:46 +0000
(19:55 +0000)
regress/lib/libssl/bytestring/bytestringtest.c
patch
|
blob
|
history
diff --git
a/regress/lib/libssl/bytestring/bytestringtest.c
b/regress/lib/libssl/bytestring/bytestringtest.c
index
1304db2
..
040667e
100644
(file)
--- a/
regress/lib/libssl/bytestring/bytestringtest.c
+++ b/
regress/lib/libssl/bytestring/bytestringtest.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: bytestringtest.c,v 1.1
3 2020/03/13 15:55:00 jsing Exp $
*/
+/* $OpenBSD: bytestringtest.c,v 1.1
4 2021/04/04 19:55:46 tb Exp $
*/
/*
* Copyright (c) 2014, Google Inc.
*
@@
-826,7
+826,7
@@
test_write_bytes(void)
size_t len;
static const uint8_t input[] = {'f', 'o', 'o', 'b', 'a', 'r'};
CBS data;
-
char
*tmp = NULL;
+
uint8_t
*tmp = NULL;
CHECK_GOTO((tmp = malloc(sizeof(input))) != NULL);
memset(tmp, 100, sizeof(input));