From 9574c445bd36d1de711a964a50024ab9031a823d Mon Sep 17 00:00:00 2001 From: Nikos Mavrogiannopoulos Date: Wed, 23 Aug 2017 10:20:05 +0200 Subject: certtool: do not ask about RSA encryption in non-RSA keys Signed-off-by: Nikos Mavrogiannopoulos --- src/certtool.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/certtool.c b/src/certtool.c index acf3a5be63..97d4287078 100644 --- a/src/certtool.c +++ b/src/certtool.c @@ -551,9 +551,6 @@ generate_certificate(gnutls_privkey_t * ret_key, usage |= GNUTLS_KEY_KEY_ENCIPHERMENT; } else { - if (get_encrypt_status(server)) - fprintf(stderr, "warning: this algorithm does not support encryption; disabling the encryption flag\n"); - usage |= GNUTLS_KEY_DIGITAL_SIGNATURE; } -- cgit v1.2.1