+2014-12-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
+
+ * gnutls.c (gnutls_certificate_details): The :signature isn't
+ that useful, so remove it.
+
2014-12-07 Jan Djärv <jan.h.d@swipnet.se>
* nsimage.m (setPixmapData): Make bmRep local so class member is not
}
#endif
- /* Signature. */
- {
- size_t buf_size = 0;
-
- err = fn_gnutls_x509_crt_get_signature_algorithm (cert);
- if (err >= GNUTLS_E_SUCCESS)
- {
- const char *name = fn_gnutls_sign_get_name (err);
- if (name)
- res = nconc2 (res, list2 (intern (":signature-algorithm"),
- build_string (name)));
-
- err = fn_gnutls_x509_crt_get_signature (cert, NULL, &buf_size);
- if (err == GNUTLS_E_SHORT_MEMORY_BUFFER)
- {
- char *buf = malloc (buf_size);
- err = fn_gnutls_x509_crt_get_signature (cert, buf, &buf_size);
- if (err >= GNUTLS_E_SUCCESS) {
- res = nconc2 (res, list2 (intern (":signature"),
- gnutls_hex_string (buf, buf_size, "")));
- }
- free (buf);
- }
- }
- }
-
/* Public key ID. */
{
size_t buf_size = 0;