summaryrefslogtreecommitdiffstats
path: root/ssl_backend.h
diff options
context:
space:
mode:
Diffstat (limited to 'ssl_backend.h')
-rw-r--r--ssl_backend.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/ssl_backend.h b/ssl_backend.h
index 336e923..103eea4 100644
--- a/ssl_backend.h
+++ b/ssl_backend.h
@@ -70,4 +70,10 @@ void tls_clear_error();
*/
void show_available_tls_ciphers ();
+/*
+ * The OpenSSL library has a notion of preference in TLS ciphers. Higher
+ * preference == more secure. Return the highest preference cipher.
+ */
+void get_highest_preference_tls_cipher (char *buf, int size);
+
#endif /* SSL_BACKEND_H_ */