aboutsummaryrefslogtreecommitdiff
path: root/crypto/bio
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2016-02-05 14:08:05 +0100
committerRichard Levitte <levitte@openssl.org>2016-02-05 14:08:05 +0100
commit424d5db24803d2e4e1e406eb73262dea76761da4 (patch)
tree6a70eef620957e780deb4b3794c4ed86d78c82ee /crypto/bio
parent8a41fa6f9e969c6b58c2bda42631cc238afaf27c (diff)
downloadopenssl-424d5db24803d2e4e1e406eb73262dea76761da4.zip
openssl-424d5db24803d2e4e1e406eb73262dea76761da4.tar.gz
openssl-424d5db24803d2e4e1e406eb73262dea76761da4.tar.bz2
VMS lacks socklen_t, give it one
Fortunately, we only use socklen_t internally Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'crypto/bio')
-rw-r--r--crypto/bio/bio_lcl.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/crypto/bio/bio_lcl.h b/crypto/bio/bio_lcl.h
index 19bfe53..eb9d463 100644
--- a/crypto/bio/bio_lcl.h
+++ b/crypto/bio/bio_lcl.h
@@ -68,6 +68,10 @@ union bio_addr_st {
#include <openssl/bio.h>
#ifndef OPENSSL_NO_SOCK
+# ifdef OPENSSL_SYS_VMS
+typedef unsigned int socklen_t;
+# endif
+
int BIO_ADDR_make(BIO_ADDR *ap, const struct sockaddr *sa);
const struct sockaddr *BIO_ADDR_sockaddr(const BIO_ADDR *ap);
struct sockaddr *BIO_ADDR_sockaddr_noconst(BIO_ADDR *ap);