summaryrefslogtreecommitdiffstats
path: root/lockdown.c
diff options
context:
space:
mode:
authorGravatar Matt Colyer2008-07-29 09:35:50 -0700
committerGravatar Matt Colyer2008-07-29 09:35:50 -0700
commit6039e5bbfc36aa5210295c38f251ed178ce5adbb (patch)
treef389395a5643341033909f1db7ace67336eff477 /lockdown.c
parentfb54273d9148d5bfa34cf6e2e457e8c740a0763c (diff)
downloadlibplist-6039e5bbfc36aa5210295c38f251ed178ce5adbb.tar.gz
libplist-6039e5bbfc36aa5210295c38f251ed178ce5adbb.tar.bz2
Removed unnecessary constants, now it works with gnutls 1.6.3.
Diffstat (limited to 'lockdown.c')
-rw-r--r--lockdown.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lockdown.c b/lockdown.c
index 4cf705d..34a98f7 100644
--- a/lockdown.c
+++ b/lockdown.c
@@ -162,7 +162,7 @@ int lockdownd_start_SSL_session(lockdownd_client *control, const char *HostID) {
int protocol_priority[16] = {GNUTLS_SSL3, 0 };
int kx_priority[16] = { GNUTLS_KX_ANON_DH, GNUTLS_KX_RSA, 0 };
int cipher_priority[16] = { GNUTLS_CIPHER_AES_128_CBC, GNUTLS_CIPHER_AES_256_CBC, 0 };
- int mac_priority[16] = { GNUTLS_MAC_SHA1, GNUTLS_MAC_SHA256, GNUTLS_MAC_SHA512, GNUTLS_MAC_MD5, 0 };
+ int mac_priority[16] = { GNUTLS_MAC_SHA1, GNUTLS_MAC_MD5, 0 };
int comp_priority[16] = { GNUTLS_COMP_NULL, 0 };
gnutls_cipher_set_priority(*control->ssl_session, cipher_priority);