diff options
Diffstat (limited to 'doc/tex/ex1.tex')
-rw-r--r-- | doc/tex/ex1.tex | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/tex/ex1.tex b/doc/tex/ex1.tex index 8757114919..3ac9d3ebf1 100644 --- a/doc/tex/ex1.tex +++ b/doc/tex/ex1.tex @@ -60,11 +60,11 @@ int main() exit(1); } gnutls_init(&state, GNUTLS_CLIENT); - gnutls_set_protocol_priority(state, GNUTLS_TLS1, GNUTLS_SSL3, 0); - gnutls_set_cipher_priority(state, GNUTLS_3DES_CBC, GNUTLS_ARCFOUR, 0); - gnutls_set_compression_priority(state, GNUTLS_NULL_COMPRESSION, 0); - gnutls_set_kx_priority(state, GNUTLS_KX_RSA, 0); - gnutls_set_mac_priority(state, GNUTLS_MAC_SHA, GNUTLS_MAC_MD5, 0); + gnutls_protocol_set_priority(state, GNUTLS_TLS1, GNUTLS_SSL3, 0); + gnutls_cipher_set_priority(state, GNUTLS_3DES_CBC, GNUTLS_ARCFOUR, 0); + gnutls_compression_set_priority(state, GNUTLS_NULL_COMPRESSION, 0); + gnutls_kx_set_priority(state, GNUTLS_KX_RSA, 0); + gnutls_mac_set_priority(state, GNUTLS_MAC_SHA, GNUTLS_MAC_MD5, 0); gnutls_set_cred(state, GNUTLS_X509PKI, xcred); |