From: inoguchi Date: Tue, 11 Jan 2022 15:05:58 +0000 (+0000) Subject: Suppress warning X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=8dbdb22ed80f774d70727f05b8ff19f2ca4b2a68;p=openbsd Suppress warning --- 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