From fad4642a73526fb773b4788222cbcbb6c8495b7c Mon Sep 17 00:00:00 2001 From: bcook <> Date: Fri, 11 Jul 2014 08:48:52 +0000 Subject: replace u_int32_t with uint32_t ok beck@ --- src/regress/lib/libcrypto/bio/biotest.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'src/regress/lib/libcrypto') diff --git a/src/regress/lib/libcrypto/bio/biotest.c b/src/regress/lib/libcrypto/bio/biotest.c index 75dbf8c4fe..c150c0b54e 100644 --- a/src/regress/lib/libcrypto/bio/biotest.c +++ b/src/regress/lib/libcrypto/bio/biotest.c @@ -1,4 +1,4 @@ -/* $OpenBSD: biotest.c,v 1.3 2014/07/08 14:17:38 bcook Exp $ */ +/* $OpenBSD: biotest.c,v 1.4 2014/07/11 08:48:52 bcook Exp $ */ /* * Copyright (c) 2014 Joel Sing * @@ -17,6 +17,7 @@ #include +#include #include #include @@ -27,7 +28,7 @@ struct bio_get_host_ip_test { char *input; - u_int32_t ip; + uint32_t ip; int ret; }; @@ -97,10 +98,10 @@ do_bio_get_host_ip_tests(void) failed = 1; continue; } - if (ret && ntohl(*((u_int32_t *)ip)) != bgit->ip) { + if (ret && ntohl(*((uint32_t *)ip)) != bgit->ip) { fprintf(stderr, "FAIL: test %zi (\"%s\") returned ip " "%x != %x\n", i, bgit->input, - ntohl(*((u_int32_t *)ip)), bgit->ip); + ntohl(*((uint32_t *)ip)), bgit->ip); failed = 1; } } -- cgit v1.2.3-55-g6feb