* gnutls.c (gnutls_certificate_details): The :signature isn't
that useful, so remove it.
(gnutls_certificate_details): Clean up whitespace slightly.
+ (Fgnutls_peer_status): Return the Diffie-Hellman prime bits for
+ the connection.
2014-12-07 Jan Djärv <jan.h.d@swipnet.se>
(intern (":certificate"),
gnutls_certificate_details (XPROCESS (proc)->gnutls_certificate)));
+ /* Diffie-Hellman prime bits. */
+ {
+ int bits = gnutls_dh_get_prime_bits (XPROCESS (proc)->gnutls_state);
+ if (bits > 0)
+ result = nconc2 (result, list2
+ (intern (":diffie-hellman-prime-bits"),
+ make_number (bits)));
+ }
+
return result;
}