summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbcook <>2014-07-11 08:48:52 +0000
committerbcook <>2014-07-11 08:48:52 +0000
commitfad4642a73526fb773b4788222cbcbb6c8495b7c (patch)
treeec59e07dd1321f8d2c7108b6e0fcd1f53a7f2a46
parentc642c67f55e80c1f3eb1966dd740b397ddf64e6d (diff)
downloadopenbsd-fad4642a73526fb773b4788222cbcbb6c8495b7c.tar.gz
openbsd-fad4642a73526fb773b4788222cbcbb6c8495b7c.tar.bz2
openbsd-fad4642a73526fb773b4788222cbcbb6c8495b7c.zip
replace u_int32_t with uint32_t
ok beck@
-rw-r--r--src/regress/lib/libcrypto/bio/biotest.c9
1 files changed, 5 insertions, 4 deletions
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 @@
1/* $OpenBSD: biotest.c,v 1.3 2014/07/08 14:17:38 bcook Exp $ */ 1/* $OpenBSD: biotest.c,v 1.4 2014/07/11 08:48:52 bcook Exp $ */
2/* 2/*
3 * Copyright (c) 2014 Joel Sing <jsing@openbsd.org> 3 * Copyright (c) 2014 Joel Sing <jsing@openbsd.org>
4 * 4 *
@@ -17,6 +17,7 @@
17 17
18#include <sys/types.h> 18#include <sys/types.h>
19 19
20#include <stdint.h>
20#include <stdlib.h> 21#include <stdlib.h>
21#include <string.h> 22#include <string.h>
22 23
@@ -27,7 +28,7 @@
27 28
28struct bio_get_host_ip_test { 29struct bio_get_host_ip_test {
29 char *input; 30 char *input;
30 u_int32_t ip; 31 uint32_t ip;
31 int ret; 32 int ret;
32}; 33};
33 34
@@ -97,10 +98,10 @@ do_bio_get_host_ip_tests(void)
97 failed = 1; 98 failed = 1;
98 continue; 99 continue;
99 } 100 }
100 if (ret && ntohl(*((u_int32_t *)ip)) != bgit->ip) { 101 if (ret && ntohl(*((uint32_t *)ip)) != bgit->ip) {
101 fprintf(stderr, "FAIL: test %zi (\"%s\") returned ip " 102 fprintf(stderr, "FAIL: test %zi (\"%s\") returned ip "
102 "%x != %x\n", i, bgit->input, 103 "%x != %x\n", i, bgit->input,
103 ntohl(*((u_int32_t *)ip)), bgit->ip); 104 ntohl(*((uint32_t *)ip)), bgit->ip);
104 failed = 1; 105 failed = 1;
105 } 106 }
106 } 107 }