|
146 | 146 | #endif |
147 | 147 | #include <wolfssl/error-ssl.h> |
148 | 148 |
|
149 | | -#include <stdint.h> |
150 | 149 | #include <stdlib.h> |
151 | 150 | #include <wolfssl/ssl.h> /* compatibility layer */ |
152 | 151 | #include <wolfssl/test.h> |
@@ -11244,8 +11243,8 @@ static int test_wolfSSL_UseMaxFragment(void) |
11244 | 11243 | #endif |
11245 | 11244 | WOLFSSL *ssl = NULL; |
11246 | 11245 | #ifdef OPENSSL_EXTRA |
11247 | | - int (*UseMaxFragment)(SSL *s, uint8_t mode); |
11248 | | - int (*CTX_UseMaxFragment)(SSL_CTX *c, uint8_t mode); |
| 11246 | + int (*UseMaxFragment)(SSL *s, unsigned char mode); |
| 11247 | + int (*CTX_UseMaxFragment)(SSL_CTX *c, unsigned char mode); |
11249 | 11248 | #else |
11250 | 11249 | int (*UseMaxFragment)(WOLFSSL *s, unsigned char mode); |
11251 | 11250 | int (*CTX_UseMaxFragment)(WOLFSSL_CTX *c, unsigned char mode); |
@@ -45815,13 +45814,13 @@ static int test_othername_and_SID_ext(void) { |
45815 | 45814 | /* SID extension. SID data format explained here: |
45816 | 45815 | * https://blog.qdsecurity.se/2022/05/27/manually-injecting-a-sid-in-a-certificate/ |
45817 | 45816 | */ |
45818 | | - uint8_t SidExtension[] = { |
| 45817 | + byte SidExtension[] = { |
45819 | 45818 | 48, 64, 160, 62, 6, 10, 43, 6, 1, 4, 1, 130, 55, 25, 2, 1, 160, |
45820 | 45819 | 48, 4, 46, 83, 45, 49, 45, 53, 45, 50, 49, 45, 50, 56, 52, 51, 57, |
45821 | 45820 | 48, 55, 52, 49, 56, 45, 51, 57, 50, 54, 50, 55, 55, 52, 50, 49, 45, |
45822 | 45821 | 51, 56, 49, 53, 57, 57, 51, 57, 55, 50, 45, 52, 54, 48, 49}; |
45823 | 45822 |
|
45824 | | - uint8_t expectedAltName[] = { |
| 45823 | + byte expectedAltName[] = { |
45825 | 45824 | 0x30, 0x27, 0xA0, 0x25, 0x06, 0x0A, 0x2B, 0x06, 0x01, 0x04, 0x01, 0x82, |
45826 | 45825 | 0x37, 0x14, 0x02, 0x03, 0xA0, 0x17, 0x0C, 0x15, 0x6F, 0x74, 0x68, 0x65, |
45827 | 45826 | 0x72, 0x6E, 0x61, 0x6D, 0x65, 0x40, 0x77, 0x6F, 0x6C, 0x66, 0x73, 0x73, |
@@ -71563,7 +71562,7 @@ static int test_read_write_hs(void) |
71563 | 71562 | WOLFSSL_CTX *ctx_s = NULL, *ctx_c = NULL; |
71564 | 71563 | WOLFSSL *ssl_s = NULL, *ssl_c = NULL; |
71565 | 71564 | struct test_memio_ctx test_ctx; |
71566 | | - uint8_t test_buffer[16]; |
| 71565 | + byte test_buffer[16]; |
71567 | 71566 | unsigned int test; |
71568 | 71567 |
|
71569 | 71568 | /* test == 0 : client writes, server reads */ |
|
0 commit comments