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, 2 insertions, 3 deletions
diff --git a/src/lib/libcrypto/bio/bss_acpt.c b/src/lib/libcrypto/bio/bss_acpt.c index 826f761143..5d49e1a72b 100644 --- a/src/lib/libcrypto/bio/bss_acpt.c +++ b/src/lib/libcrypto/bio/bss_acpt.c | |||
@@ -340,7 +340,6 @@ 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; | ||
344 | int *ip; | 343 | int *ip; |
345 | long ret=1; | 344 | long ret=1; |
346 | BIO_ACCEPT *data; | 345 | BIO_ACCEPT *data; |
@@ -437,8 +436,8 @@ static long acpt_ctrl(BIO *b, int cmd, long num, void *ptr) | |||
437 | ret=(long)data->bind_mode; | 436 | ret=(long)data->bind_mode; |
438 | break; | 437 | break; |
439 | case BIO_CTRL_DUP: | 438 | case BIO_CTRL_DUP: |
440 | dbio=(BIO *)ptr; | 439 | /* dbio=(BIO *)ptr; |
441 | /* if (data->param_port) EAY EAY | 440 | if (data->param_port) EAY EAY |
442 | BIO_set_port(dbio,data->param_port); | 441 | BIO_set_port(dbio,data->param_port); |
443 | if (data->param_hostname) | 442 | if (data->param_hostname) |
444 | BIO_set_hostname(dbio,data->param_hostname); | 443 | BIO_set_hostname(dbio,data->param_hostname); |