summaryrefslogtreecommitdiff
path: root/src/certtool.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2005-01-21 17:36:27 +0000
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2005-01-21 17:36:27 +0000
commit1fafacc7d8a541638c8b363103623af4e105279a (patch)
tree61a02f537637a0aad0fb6238030d757341c38586 /src/certtool.c
parente86c2c999b47e79f6df5c90874b7d138350f252b (diff)
downloadgnutls-1fafacc7d8a541638c8b363103623af4e105279a.tar.gz
some cleanups.
Diffstat (limited to 'src/certtool.c')
-rw-r--r--src/certtool.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/certtool.c b/src/certtool.c
index 1a89ad26bb..0a777fbde9 100644
--- a/src/certtool.c
+++ b/src/certtool.c
@@ -633,7 +633,7 @@ void generate_self_signed(void)
print_certificate_info(crt, stderr, 0);
fprintf(stderr, "\n\nSigning certificate...\n");
-fprintf(stderr, "DIG: %d\n",dig);
+
result = gnutls_x509_crt_sign2(crt, crt, key, dig, 0);
if (result < 0) {
fprintf(stderr, "crt_sign: %s\n", gnutls_strerror(result));
@@ -679,7 +679,6 @@ void generate_signed_certificate(void)
fprintf(stderr, "\n\nSigning certificate...\n");
-fprintf(stderr, "DIG: %d\n",dig);
result = gnutls_x509_crt_sign2(crt, ca_crt, ca_key, dig, 0);
if (result < 0) {
fprintf(stderr, "crt_sign: %s\n", gnutls_strerror(result));
@@ -753,7 +752,6 @@ void update_signed_certificate(void)
fprintf(stderr, "\n\nSigning certificate...\n");
-fprintf(stderr, "DIG: %d\n",dig);
result = gnutls_x509_crt_sign2(crt, ca_crt, ca_key, dig, 0);
if (result < 0) {
fprintf(stderr, "crt_sign: %s\n", gnutls_strerror(result));