Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/openssl/openssl.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2003-01-31 15:20:35 +0300
committerRichard Levitte <levitte@openssl.org>2003-01-31 15:20:35 +0300
commitc029841e366b5156982d2a691726a3481dbf8ea0 (patch)
treecf7f5d7351a86fc39f4cdf67c22f6a74d7e8603c /crypto/bio/bio.h
parentbfa35550813c3afa5bd121a13f5bbe280c4c919e (diff)
We can't say in advance what the argument to BIO_socket_ioctl() should be, so
let's make that a void *. Also, BIO_socket_nbio() should send it an int argument, not a long. PR: 457
Diffstat (limited to 'crypto/bio/bio.h')
-rw-r--r--crypto/bio/bio.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/bio/bio.h b/crypto/bio/bio.h
index ecd2899918..f109308166 100644
--- a/crypto/bio/bio.h
+++ b/crypto/bio/bio.h
@@ -585,7 +585,7 @@ struct hostent *BIO_gethostbyname(const char *name);
* and an appropriate error code is set).
*/
int BIO_sock_error(int sock);
-int BIO_socket_ioctl(int fd, long type, unsigned long *arg);
+int BIO_socket_ioctl(int fd, long type, void *arg);
int BIO_socket_nbio(int fd,int mode);
int BIO_get_port(const char *str, unsigned short *port_ptr);
int BIO_get_host_ip(const char *str, unsigned char *ip);