| Index: openssl/crypto/bio/bss_acpt.c
|
| ===================================================================
|
| --- openssl/crypto/bio/bss_acpt.c (revision 105093)
|
| +++ openssl/crypto/bio/bss_acpt.c (working copy)
|
| @@ -100,8 +100,8 @@
|
| static int acpt_free(BIO *data);
|
| static int acpt_state(BIO *b, BIO_ACCEPT *c);
|
| static void acpt_close_socket(BIO *data);
|
| -BIO_ACCEPT *BIO_ACCEPT_new(void );
|
| -void BIO_ACCEPT_free(BIO_ACCEPT *a);
|
| +static BIO_ACCEPT *BIO_ACCEPT_new(void );
|
| +static void BIO_ACCEPT_free(BIO_ACCEPT *a);
|
|
|
| #define ACPT_S_BEFORE 1
|
| #define ACPT_S_GET_ACCEPT_SOCKET 2
|
| @@ -141,7 +141,7 @@
|
| return(1);
|
| }
|
|
|
| -BIO_ACCEPT *BIO_ACCEPT_new(void)
|
| +static BIO_ACCEPT *BIO_ACCEPT_new(void)
|
| {
|
| BIO_ACCEPT *ret;
|
|
|
| @@ -154,7 +154,7 @@
|
| return(ret);
|
| }
|
|
|
| -void BIO_ACCEPT_free(BIO_ACCEPT *a)
|
| +static void BIO_ACCEPT_free(BIO_ACCEPT *a)
|
| {
|
| if(a == NULL)
|
| return;
|
| @@ -340,7 +340,6 @@
|
|
|
| static long acpt_ctrl(BIO *b, int cmd, long num, void *ptr)
|
| {
|
| - BIO *dbio;
|
| int *ip;
|
| long ret=1;
|
| BIO_ACCEPT *data;
|
| @@ -437,8 +436,8 @@
|
| ret=(long)data->bind_mode;
|
| break;
|
| case BIO_CTRL_DUP:
|
| - dbio=(BIO *)ptr;
|
| -/* if (data->param_port) EAY EAY
|
| +/* dbio=(BIO *)ptr;
|
| + if (data->param_port) EAY EAY
|
| BIO_set_port(dbio,data->param_port);
|
| if (data->param_hostname)
|
| BIO_set_hostname(dbio,data->param_hostname);
|
|
|