Commit ca7ad427 authored by Lars Magne Ingebrigtsen's avatar Lars Magne Ingebrigtsen
Browse files

Put back :signature-algorithm into gnutls.c

(gnutls_certificate_details): Put :signature-algorithm back again,
which was removed by mistake.
parent a0fe9b04
......@@ -5,6 +5,8 @@
(gnutls_certificate_details): Clean up whitespace slightly.
(Fgnutls_peer_status): Return the Diffie-Hellman prime bits for
the connection.
(gnutls_certificate_details): Put :signature-algorithm back again,
which was removed by mistake.
 
2014-12-07 Jan Djärv <jan.h.d@swipnet.se>
 
......
......@@ -910,6 +910,16 @@ gnutls_certificate_details (gnutls_x509_crt_t cert)
}
#endif
/* Signature. */
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)));
}
/* Public key ID. */
buf_size = 0;
err = fn_gnutls_x509_crt_get_key_id (cert, 0, NULL, &buf_size);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment