Commit 855c68163b for openssl.org

commit 855c68163b182960f2b27bb961a323944d96237e
Author: Dr. David von Oheimb <David.von.Oheimb@siemens.com>
Date:   Mon Dec 21 13:50:09 2020 +0100

    apps/lib/opt.c: Fix error message on unknown option/digest

    Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
    (Merged from https://github.com/openssl/openssl/pull/13658)

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;
 }