fix dtls 1.0 deprecation warning
The code for generating the DTLS 1.0 deprecation warning is in the wrong method which is not called when the transport gets connected. Moves the code to the internal state change event and fixes punctuation in the warning. This can be tested with a peer that creates the OpenSSL context with the DTLS_method() and then does SSL_CTX_set_options(ctx, SSL_OP_NO_TLSv1_2) to disabled DTLS 1.2. Bug: webrtc:10261 Change-Id: Ib11851b7a104e4d3b6ba77eeb78bed3f1c4d0588 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1894006Reviewed-by:Harald Alvestrand <hta@chromium.org> Reviewed-by:
Daniel Cheng <dcheng@chromium.org> Commit-Queue: Harald Alvestrand <hta@chromium.org> Cr-Commit-Position: refs/heads/master@{#712632}
Showing
Please register or sign in to comment