summaryrefslogtreecommitdiffstats
path: root/crypto/ocsp
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2002-11-13 15:49:51 +0000
committerRichard Levitte <levitte@openssl.org>2002-11-13 15:49:51 +0000
commit7ab58bf0129f2e3f3eb40fbd1a9180422f51ad7f (patch)
treed9f8a44695844511791a664834142e080dc6091f /crypto/ocsp
parentcd10ba9c394dbaa699646b0d1ab1ebfd873a0db8 (diff)
Correct support for SunOS 4.1.3_U1.
PR: 227
Diffstat (limited to 'crypto/ocsp')
-rw-r--r--crypto/ocsp/ocsp_ht.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/crypto/ocsp/ocsp_ht.c b/crypto/ocsp/ocsp_ht.c
index 3194fd90d0..357709a843 100644
--- a/crypto/ocsp/ocsp_ht.c
+++ b/crypto/ocsp/ocsp_ht.c
@@ -64,6 +64,9 @@
#include <openssl/ocsp.h>
#include <openssl/err.h>
#include <openssl/buffer.h>
+#ifdef OPENSSL_SYS_SUNOS
+#define strtoul (unsigned long)strtol
+#endif /* OPENSSL_SYS_SUNOS */
/* Quick and dirty HTTP OCSP request handler.
* Could make this a bit cleverer by adding