mirror of
https://github.com/openssl/openssl.git
synced 2024-11-27 05:21:51 +08:00
VMS lacks socklen_t, give it one
Fortunately, we only use socklen_t internally Reviewed-by: Rich Salz <rsalz@openssl.org>
This commit is contained in:
parent
8a41fa6f9e
commit
424d5db248
@ -68,6 +68,10 @@ union bio_addr_st {
|
|||||||
#include <openssl/bio.h>
|
#include <openssl/bio.h>
|
||||||
|
|
||||||
#ifndef OPENSSL_NO_SOCK
|
#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);
|
int BIO_ADDR_make(BIO_ADDR *ap, const struct sockaddr *sa);
|
||||||
const struct sockaddr *BIO_ADDR_sockaddr(const BIO_ADDR *ap);
|
const struct sockaddr *BIO_ADDR_sockaddr(const BIO_ADDR *ap);
|
||||||
struct sockaddr *BIO_ADDR_sockaddr_noconst(BIO_ADDR *ap);
|
struct sockaddr *BIO_ADDR_sockaddr_noconst(BIO_ADDR *ap);
|
||||||
|
Loading…
Reference in New Issue
Block a user