Respect certtool --hash when signing request and CRL
commit7a7921a3d127a7d0b75fa2c8376e1fd683ef9e12
authorPetr Písař <petr.pisar@atlas.cz>
Thu, 26 Jul 2012 14:18:44 +0000 (26 16:18 +0200)
committerNikos Mavrogiannopoulos <nmav@gnutls.org>
Wed, 1 Aug 2012 23:21:34 +0000 (2 01:21 +0200)
treeeb42641412ddbf60fe4f2f34f9e328b15c25a2d5
parent4e3dde7d1324efc0f7db722e2f78fc9b5572a060
Respect certtool --hash when signing request and CRL

The certtool hard-codes the digest algorithm despite '--hash' option exists.
This patch allows user to choose the algorithm when signing certificate
request or certificate revocation list.

Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
src/certtool.c