mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-29 16:01:38 +00:00
Fix bg in security setting exposed by earlier fix.
This commit is contained in:
parent
ddcff45b89
commit
99c080a3ee
3 changed files with 17 additions and 12 deletions
|
@ -1765,10 +1765,13 @@ retrieve_callback(gnutls_session_t session,
|
|||
}
|
||||
else
|
||||
{
|
||||
#if GNUTLS_VERSION_NUMBER >= 0x020C00
|
||||
gnutls_priority_set_direct(session, [str UTF8String], NULL);
|
||||
#if GNUTLS_VERSION_NUMBER < 0x020C00
|
||||
gnutls_set_default_priority(session);
|
||||
#else
|
||||
gnutls_set_default_priority(session);
|
||||
/* By default we disable SSL3.0 as the 'POODLE' attack (Oct 2014)
|
||||
* renders it insecure.
|
||||
*/
|
||||
gnutls_priority_set_direct(session, [str UTF8String], NULL);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue