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:28:59 +0200 |
commit | b03010b964f304a036a841ff1b89172309087482 (patch) | |
tree | 30176cb09e391b8d06e724e59c8dd76f25c36af7 | |
parent | 73cbbfc551e814f7598e02924f0728e3abff1818 (diff) | |
download | gnutls-b03010b964f304a036a841ff1b89172309087482.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 b48ff743e8..81d2189b4a 100644 --- a/src/certtool-common.c +++ b/src/certtool-common.c @@ -698,7 +698,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"); app_exit(1); } } |