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:29:56 +0200 |
commit | 3f995d6791dc7f70ea7a2d369532ca15133ec41d (patch) | |
tree | a567f392a8e6641830ee871818b51c55600d852c | |
parent | 75217daf2bb8ddd35c02c902239c937a2159b58b (diff) | |
download | gnutls-3f995d6791dc7f70ea7a2d369532ca15133ec41d.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 30f6884da5..abc59a5a0d 100644 --- a/src/certtool-common.c +++ b/src/certtool-common.c @@ -682,7 +682,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); } } |