This reverts commit 02b5f3c9c12cddf3fc6e9125238b77ddb44f3b53. Reason for revert: SetRemoteFingerprint called by downstream code. Original change's description: > dtls: allow dtls role to change during DTLS restart > > which is characterized by a change in remote fingerprint and > causes a new DTLS handshake. This allows renegotiating the > client/server role as well. > Spec guidance is provided by > https://www.rfc-editor.org/rfc/rfc5763#section-6.6 > > BUG=webrtc:5768 > > Change-Id: I0e8630c0c5907cc92720762a4320ad21a6190d28 > Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/271680 > Reviewed-by: Harald Alvestrand <hta@webrtc.org> > Commit-Queue: Philipp Hancke <phancke@microsoft.com> > Cr-Commit-Position: refs/heads/main@{#37821} Bug: webrtc:5768 Change-Id: I266b7fdc9cc0b6dc9d3fa732fca37407b98e0816 No-Presubmit: true No-Tree-Checks: true No-Try: true Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/272220 Owners-Override: Björn Terelius <terelius@webrtc.org> Bot-Commit: rubber-stamper@appspot.gserviceaccount.com <rubber-stamper@appspot.gserviceaccount.com> Commit-Queue: Björn Terelius <terelius@webrtc.org> Cr-Commit-Position: refs/heads/main@{#37822}