mirror of
https://github.com/proxytunnel/proxytunnel.git
synced 2026-01-23 02:34:59 +00:00
ssl fix from Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
git-svn-id: https://proxytunnel.svn.sourceforge.net/svnroot/proxytunnel/trunk/proxytunnel@144 bc163920-b10d-0410-b2c5-a5491ca2ceef
This commit is contained in:
parent
bbda7f9734
commit
8d4f353e2e
1 changed files with 2 additions and 2 deletions
|
|
@ -222,7 +222,7 @@ int stream_get_incoming_fd(PTSTREAM *pts)
|
|||
return pts->incoming_fd;
|
||||
else
|
||||
#ifdef USE_SSL
|
||||
return SSL_get_fd(pts->ssl);
|
||||
return SSL_get_rfd(pts->ssl);
|
||||
#else
|
||||
return pts->incoming_fd;
|
||||
#endif
|
||||
|
|
@ -240,7 +240,7 @@ int stream_get_outgoing_fd(PTSTREAM *pts)
|
|||
return pts->outgoing_fd;
|
||||
else
|
||||
#ifdef USE_SSL
|
||||
return SSL_get_fd(pts->ssl);
|
||||
return SSL_get_wfd(pts->ssl);
|
||||
#else
|
||||
return pts->outgoing_fd;
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue