diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2017-08-23 10:20:05 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2017-08-23 10:20:05 +0200 |
commit | 9574c445bd36d1de711a964a50024ab9031a823d (patch) | |
tree | 559cdf53dac7665804b76f861028e1c63e8a3832 /src | |
parent | 6a3dfd4614e76184224d807ab53556a7010b7947 (diff) | |
download | gnutls-9574c445bd36d1de711a964a50024ab9031a823d.tar.gz |
certtool: do not ask about RSA encryption in non-RSA keys
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/certtool.c | 3 |
1 files changed, 0 insertions, 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; } |