Peter Boström 0b518bf6fc Remove incorrect cast to AsyncSocketAdapter.
socket_ in OpenSSLAdapter should be (and is in tests) an AsyncSocket but
doesn't have to be an AsyncSocketAdapter. In tests this is
rtc::VirtualSocket which is an rtc::AsyncSocket. This also matches the
BIO_new_socket type signature.

This fixes the remaining UBSan vptr bot errors.

BUG=webrtc:5124, webrtc:5226
R=tommi@webrtc.org, torbjorng@webrtc.org

Review URL: https://codereview.webrtc.org/1639883002 .

Cr-Commit-Position: refs/heads/master@{#11391}
2016-01-27 11:35:52 +00:00
..
2015-09-24 13:07:04 +00:00
2015-09-24 13:07:04 +00:00
2015-04-02 10:31:00 +00:00
2015-06-10 18:33:24 +00:00
2015-12-17 02:38:34 +00:00
2015-12-28 22:07:05 +00:00
2015-12-28 22:07:05 +00:00
2015-05-21 11:50:41 +00:00
2015-05-21 11:50:41 +00:00
2015-12-28 22:07:05 +00:00
2015-04-01 22:25:29 +00:00
2016-01-04 21:44:16 +00:00
2015-12-16 19:44:39 +00:00
2015-11-26 16:45:57 +00:00
2016-01-04 21:44:16 +00:00
2015-11-26 16:45:57 +00:00
2015-11-26 16:45:57 +00:00
2015-10-07 11:58:00 +00:00
2015-09-22 18:58:13 +00:00
2016-01-04 21:44:16 +00:00
2016-01-04 21:44:16 +00:00
2015-11-26 16:45:57 +00:00
2015-11-26 16:45:57 +00:00
2016-01-14 19:01:25 +00:00