mirror of
https://github.com/NLnetLabs/unbound.git
synced 2024-09-21 22:57:08 +00:00
fixup windows compile with ssl support.
git-svn-id: file:///svn/unbound/trunk@2540 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
parent
8f5596f643
commit
a08cf3c4e5
@ -1,5 +1,6 @@
|
||||
8 November 2011: Wouter
|
||||
- can configure ssl service to one port number, and not on others.
|
||||
- fixup windows compile with ssl support.
|
||||
|
||||
1 November 2011: Wouter
|
||||
- dns over ssl support as a client, ssl-upstream yes turns it on.
|
||||
|
@ -717,9 +717,9 @@ comm_point_tcp_win_bio_cb(struct comm_point* c, void* thessl)
|
||||
SSL* ssl = (SSL*)thessl;
|
||||
/* set them both just in case, but usually they are the same BIO */
|
||||
BIO_set_callback(SSL_get_rbio(ssl), &win_bio_cb);
|
||||
BIO_set_callback_arg(SSL_get_rbio(ssl), (char*)comm_point_internal(c));
|
||||
BIO_set_callback_arg(SSL_get_rbio(ssl), (char*)&c->ev->ev);
|
||||
BIO_set_callback(SSL_get_wbio(ssl), &win_bio_cb);
|
||||
BIO_set_callback_arg(SSL_get_wbio(ssl), (char*)comm_point_internal(c));
|
||||
BIO_set_callback_arg(SSL_get_wbio(ssl), (char*)&c->ev->ev);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user