From 8dbdb22ed80f774d70727f05b8ff19f2ca4b2a68 Mon Sep 17 00:00:00 2001 From: inoguchi Date: Tue, 11 Jan 2022 15:05:58 +0000 Subject: [PATCH] Suppress warning --- usr.bin/openssl/smime.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/usr.bin/openssl/smime.c b/usr.bin/openssl/smime.c index 0783ebafa90..323bdc199fd 100644 --- a/usr.bin/openssl/smime.c +++ b/usr.bin/openssl/smime.c @@ -1,4 +1,4 @@ -/* $OpenBSD: smime.c,v 1.13 2022/01/11 15:02:34 inoguchi Exp $ */ +/* $OpenBSD: smime.c,v 1.14 2022/01/11 15:05:58 inoguchi Exp $ */ /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL * project. */ @@ -144,6 +144,8 @@ get_cipher_by_name(char *name) else if (!strcmp(name, "rc2-128")) return EVP_rc2_cbc(); #endif + else + return NULL; } static int -- 2.20.1