diff options
-rw-r--r-- | apps/lib/opt.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/lib/opt.c b/apps/lib/opt.c index 22d4138301..9675bc474d 100644 --- a/apps/lib/opt.c +++ b/apps/lib/opt.c @@ -370,7 +370,8 @@ int opt_md(const char *name, const EVP_MD **mdp) *mdp = EVP_get_digestbyname(name); if (*mdp != NULL) return 1; - opt_printf_stderr("%s: Unknown message digest: %s\n", prog, name); + opt_printf_stderr("%s: Unknown option or message digest: %s\n", prog, + name != NULL ? name : "\"\""); return 0; } |