Use uint8_t instead of u_int8_t - for consistency and to make things easier
authorjsing <jsing@openbsd.org>
Fri, 7 Apr 2017 08:48:30 +0000 (08:48 +0000)
committerjsing <jsing@openbsd.org>
Fri, 7 Apr 2017 08:48:30 +0000 (08:48 +0000)
for portable.

From Raphael Hittich.

lib/libtls/tls_internal.h

index 5bbcadf..7bbc14c 100644 (file)
@@ -1,4 +1,4 @@
-/* $OpenBSD: tls_internal.h,v 1.55 2017/04/05 03:19:22 beck Exp $ */
+/* $OpenBSD: tls_internal.h,v 1.56 2017/04/07 08:48:30 jsing Exp $ */
 /*
  * Copyright (c) 2014 Jeremie Courreges-Anglas <jca@openbsd.org>
  * Copyright (c) 2014 Joel Sing <jsing@openbsd.org>
@@ -110,7 +110,7 @@ struct tls_conninfo {
        char *issuer;
        char *subject;
 
-       u_int8_t *peer_cert;
+       uint8_t *peer_cert;
        size_t peer_cert_len;
 
        time_t notbefore;