diff options
Diffstat (limited to 'tests/hex.h')
-rw-r--r-- | tests/hex.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/hex.h b/tests/hex.h index 4129a0537e..f388059c51 100644 --- a/tests/hex.h +++ b/tests/hex.h @@ -20,18 +20,18 @@ */ #ifndef GNUTLS_TESTS_HEX_H -#define GNUTLS_TESTS_HEX_H +# define GNUTLS_TESTS_HEX_H -#include <stdio.h> -#include <string.h> -#include <gnutls/gnutls.h> +# include <stdio.h> +# include <string.h> +# include <gnutls/gnutls.h> inline static gnutls_datum_t SHEX(const char *hex) { gnutls_datum_t input, output; int ret; - input.data = (void*)hex; + input.data = (void *)hex; input.size = strlen(hex); ret = gnutls_hex_decode2(&input, &output); @@ -42,9 +42,9 @@ inline static gnutls_datum_t SHEX(const char *hex) inline static gnutls_datum_t SDATA(const char *txt) { gnutls_datum_t output; - output.data = (void*)gnutls_strdup(txt); + output.data = (void *)gnutls_strdup(txt); output.size = strlen(txt); return output; } -#endif /* GNUTLS_TESTS_HEX_H */ +#endif /* GNUTLS_TESTS_HEX_H */ |