projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8a41fa6
)
VMS lacks socklen_t, give it one
author
Richard Levitte
<levitte@openssl.org>
Fri, 5 Feb 2016 13:08:05 +0000
(14:08 +0100)
committer
Richard Levitte
<levitte@openssl.org>
Fri, 5 Feb 2016 13:08:05 +0000
(14:08 +0100)
Fortunately, we only use socklen_t internally
Reviewed-by: Rich Salz <rsalz@openssl.org>
crypto/bio/bio_lcl.h
patch
|
blob
|
history
diff --git
a/crypto/bio/bio_lcl.h
b/crypto/bio/bio_lcl.h
index 19bfe533185a994909feff5f2277c55a263e627e..eb9d46366577cb77d0a8dac21a87ef2b0ebb6b96 100644
(file)
--- 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);