removed unnecessary patch
This commit is contained in:
parent
906f58d1f1
commit
78a8f2e60e
@ -1,15 +0,0 @@
|
|||||||
diff --git a/lib/priority.c b/lib/priority.c
|
|
||||||
index 53c0d55..e727fcf 100644
|
|
||||||
--- a/lib/priority.c
|
|
||||||
+++ b/lib/priority.c
|
|
||||||
@@ -592,7 +592,9 @@ gnutls_priority_set(gnutls_session_t session, gnutls_priority_t priority)
|
|
||||||
/* set the current version to the first in the chain.
|
|
||||||
* This will be overridden later.
|
|
||||||
*/
|
|
||||||
- if (session->internals.priorities->protocol.algorithms > 0) {
|
|
||||||
+ if (session->internals.priorities->protocol.algorithms > 0 &&
|
|
||||||
+ !session->internals.handshake_in_progress &&
|
|
||||||
+ !session->internals.initial_negotiation_completed) {
|
|
||||||
if (_gnutls_set_current_version(session,
|
|
||||||
session->internals.priorities->
|
|
||||||
protocol.priority[0]) < 0) {
|
|
@ -3,7 +3,6 @@ Version: 3.6.4
|
|||||||
Release: 5%{?dist}
|
Release: 5%{?dist}
|
||||||
Patch1: gnutls-3.2.7-rpath.patch
|
Patch1: gnutls-3.2.7-rpath.patch
|
||||||
Patch2: gnutls-3.6.4-no-now-guile.patch
|
Patch2: gnutls-3.6.4-no-now-guile.patch
|
||||||
Patch3: gnutls-3.6.4-fix-rehandshake.patch
|
|
||||||
%bcond_without dane
|
%bcond_without dane
|
||||||
%if 0%{?rhel}
|
%if 0%{?rhel}
|
||||||
%bcond_with guile
|
%bcond_with guile
|
||||||
|
Loading…
Reference in New Issue
Block a user