Commit 03bc29b9 authored by Committed by Ignacio Casal Quinteiro
Fail unsafe rehandshake attempts initiated by API request (take two)
This reimplements 21f765e2, which got lost when I ported the GnuTLS code to the base class. I've had a pending TODO to restore this check for a while now. It's not possible to test because we don't test against an old peer that lacks secure renegotiation support.
Showing with 104 additions and 64 deletions