aboutsummaryrefslogtreecommitdiff
path: root/src/daemon/https/tls/gnutls_priority.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/daemon/https/tls/gnutls_priority.c')
-rw-r--r--src/daemon/https/tls/gnutls_priority.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/daemon/https/tls/gnutls_priority.c b/src/daemon/https/tls/gnutls_priority.c
index 29132f8a..d4f1eb6f 100644
--- a/src/daemon/https/tls/gnutls_priority.c
+++ b/src/daemon/https/tls/gnutls_priority.c
@@ -199,9 +199,8 @@ int
199gnutls_certificate_type_set_priority (gnutls_session_t session, 199gnutls_certificate_type_set_priority (gnutls_session_t session,
200 const int *list) 200 const int *list)
201{ 201{
202#ifdef ENABLE_OPENPGP 202#if ENABLE_OPENPGP
203 return _set_priority (&session->internals.priorities.cert_type, list); 203 return _set_priority (&session->internals.priorities.cert_type, list);
204
205#else 204#else
206 205
207 return GNUTLS_E_UNIMPLEMENTED_FEATURE; 206 return GNUTLS_E_UNIMPLEMENTED_FEATURE;
@@ -243,7 +242,7 @@ typedef void (rmadd_func) (priority_st * priority_list, int alg);
243 * @priority: is a #gnutls_priority_t structure. 242 * @priority: is a #gnutls_priority_t structure.
244 * 243 *
245 * Sets the priorities to use on the ciphers, key exchange methods, 244 * Sets the priorities to use on the ciphers, key exchange methods,
246 * macs and compression methods. 245 * macs and compression methods.
247 * 246 *
248 * On success 0 is returned. 247 * On success 0 is returned.
249 * 248 *
@@ -288,7 +287,7 @@ gnutls_priority_set (gnutls_session_t session, gnutls_priority_t priority)
288 * "NORMAL" option enables all "secure" ciphersuites. The 256-bit ciphers 287 * "NORMAL" option enables all "secure" ciphersuites. The 256-bit ciphers
289 * are included as a fallback only. The ciphers are sorted by security margin. 288 * are included as a fallback only. The ciphers are sorted by security margin.
290 * 289 *
291 * "SECURE128" flag enables all "secure" ciphersuites with ciphers up to 290 * "SECURE128" flag enables all "secure" ciphersuites with ciphers up to
292 * 128 bits, sorted by security margin. 291 * 128 bits, sorted by security margin.
293 * 292 *
294 * "SECURE256" flag enables all "secure" ciphersuites including the 256 bit 293 * "SECURE256" flag enables all "secure" ciphersuites including the 256 bit
@@ -316,7 +315,7 @@ gnutls_priority_set (gnutls_session_t session, gnutls_priority_t priority)
316 * are enabled (except for the RSA-EXPORT which is only enabled in 315 * are enabled (except for the RSA-EXPORT which is only enabled in
317 * EXPORT level). 316 * EXPORT level).
318 * 317 *
319 * Note that although one can select very long key sizes (such as 256 bits) 318 * Note that although one can select very long key sizes (such as 256 bits)
320 * for symmetric algorithms, to actually increase security the public key 319 * for symmetric algorithms, to actually increase security the public key
321 * algorithms have to use longer key sizes as well. 320 * algorithms have to use longer key sizes as well.
322 * 321 *