summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjsing <>2019-03-26 09:15:07 +0000
committerjsing <>2019-03-26 09:15:07 +0000
commitaa7d59207ca7f0a359d5683dd2497b33440d075a (patch)
tree9dcd1ddcc1ef6e2175a6aa14f4d9beffcc0e41c5
parente37f209c3843ee0b0f137ae0b3eeaca0fed22bed (diff)
downloadopenbsd-aa7d59207ca7f0a359d5683dd2497b33440d075a.tar.gz
openbsd-aa7d59207ca7f0a359d5683dd2497b33440d075a.tar.bz2
openbsd-aa7d59207ca7f0a359d5683dd2497b33440d075a.zip
Use limits.h instead of sys/limits.h for portability.
From phrocker via github.
-rw-r--r--src/lib/libcrypto/asn1/a_int.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/lib/libcrypto/asn1/a_int.c b/src/lib/libcrypto/asn1/a_int.c
index 218d0b607b..1b2ebfb3a9 100644
--- a/src/lib/libcrypto/asn1/a_int.c
+++ b/src/lib/libcrypto/asn1/a_int.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: a_int.c,v 1.32 2019/03/23 18:48:14 beck Exp $ */ 1/* $OpenBSD: a_int.c,v 1.33 2019/03/26 09:15:07 jsing Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -56,11 +56,10 @@
56 * [including the GNU Public Licence.] 56 * [including the GNU Public Licence.]
57 */ 57 */
58 58
59#include <limits.h>
59#include <stdio.h> 60#include <stdio.h>
60#include <string.h> 61#include <string.h>
61 62
62#include <sys/limits.h>
63
64#include <openssl/asn1.h> 63#include <openssl/asn1.h>
65#include <openssl/bn.h> 64#include <openssl/bn.h>
66#include <openssl/err.h> 65#include <openssl/err.h>