diff options
| author | tb <> | 2021-04-04 19:55:46 +0000 |
|---|---|---|
| committer | tb <> | 2021-04-04 19:55:46 +0000 |
| commit | 55e02211020c2e3b54d7973ea20f0cf3cf973cb3 (patch) | |
| tree | cfecab60d1a3e63b91128d49e52673406b6fd7bb /src | |
| parent | 64696dfeb942a5a4a8aa054f0eb1d408c8f70f98 (diff) | |
| download | openbsd-55e02211020c2e3b54d7973ea20f0cf3cf973cb3.tar.gz openbsd-55e02211020c2e3b54d7973ea20f0cf3cf973cb3.tar.bz2 openbsd-55e02211020c2e3b54d7973ea20f0cf3cf973cb3.zip | |
Use correct type for tmp in test_write_bytes()
Diffstat (limited to 'src')
| -rw-r--r-- | src/regress/lib/libssl/bytestring/bytestringtest.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/regress/lib/libssl/bytestring/bytestringtest.c b/src/regress/lib/libssl/bytestring/bytestringtest.c index 1304db2c3e..040667ede9 100644 --- a/src/regress/lib/libssl/bytestring/bytestringtest.c +++ b/src/regress/lib/libssl/bytestring/bytestringtest.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: bytestringtest.c,v 1.13 2020/03/13 15:55:00 jsing Exp $ */ | 1 | /* $OpenBSD: bytestringtest.c,v 1.14 2021/04/04 19:55:46 tb Exp $ */ |
| 2 | /* | 2 | /* |
| 3 | * Copyright (c) 2014, Google Inc. | 3 | * Copyright (c) 2014, Google Inc. |
| 4 | * | 4 | * |
| @@ -826,7 +826,7 @@ test_write_bytes(void) | |||
| 826 | size_t len; | 826 | size_t len; |
| 827 | static const uint8_t input[] = {'f', 'o', 'o', 'b', 'a', 'r'}; | 827 | static const uint8_t input[] = {'f', 'o', 'o', 'b', 'a', 'r'}; |
| 828 | CBS data; | 828 | CBS data; |
| 829 | char *tmp = NULL; | 829 | uint8_t *tmp = NULL; |
| 830 | 830 | ||
| 831 | CHECK_GOTO((tmp = malloc(sizeof(input))) != NULL); | 831 | CHECK_GOTO((tmp = malloc(sizeof(input))) != NULL); |
| 832 | memset(tmp, 100, sizeof(input)); | 832 | memset(tmp, 100, sizeof(input)); |
