diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2017-06-08 09:25:32 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2017-06-08 09:30:29 +0200 |
commit | b5b81be35518cd30e2afed0f6dec67c973bb9cfd (patch) | |
tree | 761bed627ba6a7bfdae5ad3b511e2e26ea454f8b | |
parent | 7aacdf94c221a6f19e988e87b9fe17f9cb284633 (diff) | |
download | gnutls-b5b81be35518cd30e2afed0f6dec67c973bb9cfd.tar.gz |
certtool: improved error message when public key cannot be figured [ci skip]
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
-rw-r--r-- | src/certtool-common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/certtool-common.c b/src/certtool-common.c index 230bb85adc..62403065f1 100644 --- a/src/certtool-common.c +++ b/src/certtool-common.c @@ -634,7 +634,7 @@ gnutls_pubkey_t load_public_key_or_import(int mand, gnutls_pubkey_deinit(pubkey); pubkey = load_pubkey(0, info); if (pubkey == NULL && mand) { - fprintf(stderr, "You must specify --load-privkey\n"); + fprintf(stderr, "Could not determine the public key for the operation.\nYou must specify --load-privkey or --load-pubkey if missing.\n"); exit(1); } } |