diff options
author | Theo Buehler <tb@cvs.openbsd.org> | 2021-04-04 19:55:47 +0000 |
---|---|---|
committer | Theo Buehler <tb@cvs.openbsd.org> | 2021-04-04 19:55:47 +0000 |
commit | d2133f4c578602a76a74cc338ea820b314eca63d (patch) | |
tree | 5e56dc79c1139f3b1854ad15a321e7315355f467 | |
parent | a64146f1b2cadde6dacf0ea87a7006fd7a64b28f (diff) |
Use correct type for tmp in test_write_bytes()
-rw-r--r-- | regress/lib/libssl/bytestring/bytestringtest.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/regress/lib/libssl/bytestring/bytestringtest.c b/regress/lib/libssl/bytestring/bytestringtest.c index 1304db2c3ed..040667ede93 100644 --- a/regress/lib/libssl/bytestring/bytestringtest.c +++ b/regress/lib/libssl/bytestring/bytestringtest.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bytestringtest.c,v 1.13 2020/03/13 15:55:00 jsing Exp $ */ +/* $OpenBSD: bytestringtest.c,v 1.14 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)); |