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:
8de5b7f
)
The VMS I run on doesn't know socklen_t and uses size_t instead.
author
Richard Levitte
<levitte@openssl.org>
Wed, 4 Jan 2006 12:03:47 +0000
(12:03 +0000)
committer
Richard Levitte
<levitte@openssl.org>
Wed, 4 Jan 2006 12:03:47 +0000
(12:03 +0000)
crypto/bio/b_sock.c
patch
|
blob
|
history
diff --git
a/crypto/bio/b_sock.c
b/crypto/bio/b_sock.c
index fd45bec3316017384e5600d343a461745a3bd23f..d20f25ba7f04951f230557b1b95926cf6bbdd22d 100644
(file)
--- a/
crypto/bio/b_sock.c
+++ b/
crypto/bio/b_sock.c
@@
-799,11
+799,16
@@
int BIO_accept(int sock, char **addr)
if (addr == NULL) goto end;
#ifdef EAI_FAMILY
+# ifdef OPENSSL_SYS_VMS
+# define SOCKLEN_T size_t
+# else
+# define SOCKLEN_T socklen_t
+#endif
do {
char h[NI_MAXHOST],s[NI_MAXSERV];
size_t l;
static union { void *p;
- int (*f)(const struct sockaddr *,
socklen_t
,
+ int (*f)(const struct sockaddr *,
SOCKLEN_T
,
char *,size_t,char *,size_t,int);
} getnameinfo = {NULL};