diff options
Diffstat (limited to 'src/lib/libcrypto/bio/bss_acpt.c')
-rw-r--r-- | src/lib/libcrypto/bio/bss_acpt.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/libcrypto/bio/bss_acpt.c b/src/lib/libcrypto/bio/bss_acpt.c index 5d49e1a72b..826f761143 100644 --- a/src/lib/libcrypto/bio/bss_acpt.c +++ b/src/lib/libcrypto/bio/bss_acpt.c | |||
@@ -340,6 +340,7 @@ static int acpt_write(BIO *b, const char *in, int inl) | |||
340 | 340 | ||
341 | static long acpt_ctrl(BIO *b, int cmd, long num, void *ptr) | 341 | static long acpt_ctrl(BIO *b, int cmd, long num, void *ptr) |
342 | { | 342 | { |
343 | BIO *dbio; | ||
343 | int *ip; | 344 | int *ip; |
344 | long ret=1; | 345 | long ret=1; |
345 | BIO_ACCEPT *data; | 346 | BIO_ACCEPT *data; |
@@ -436,8 +437,8 @@ static long acpt_ctrl(BIO *b, int cmd, long num, void *ptr) | |||
436 | ret=(long)data->bind_mode; | 437 | ret=(long)data->bind_mode; |
437 | break; | 438 | break; |
438 | case BIO_CTRL_DUP: | 439 | case BIO_CTRL_DUP: |
439 | /* dbio=(BIO *)ptr; | 440 | dbio=(BIO *)ptr; |
440 | if (data->param_port) EAY EAY | 441 | /* if (data->param_port) EAY EAY |
441 | BIO_set_port(dbio,data->param_port); | 442 | BIO_set_port(dbio,data->param_port); |
442 | if (data->param_hostname) | 443 | if (data->param_hostname) |
443 | BIO_set_hostname(dbio,data->param_hostname); | 444 | BIO_set_hostname(dbio,data->param_hostname); |