summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authortb <>2023-06-11 11:54:44 +0000
committertb <>2023-06-11 11:54:44 +0000
commit301623c3a1cfc24b12e8138077f5d91d56721e38 (patch)
tree45b60529c67dc750b35039330e15f78c18a280e3 /src
parent70aeb9007c8fa406651fbf1c8baee0f9dcac9fb9 (diff)
downloadopenbsd-301623c3a1cfc24b12e8138077f5d91d56721e38.tar.gz
openbsd-301623c3a1cfc24b12e8138077f5d91d56721e38.tar.bz2
openbsd-301623c3a1cfc24b12e8138077f5d91d56721e38.zip
openssl enc: small style fixup after ZLIB unifdef
Diffstat (limited to 'src')
-rw-r--r--src/usr.bin/openssl/enc.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/usr.bin/openssl/enc.c b/src/usr.bin/openssl/enc.c
index 9e330ce5cb..e9830af5f2 100644
--- a/src/usr.bin/openssl/enc.c
+++ b/src/usr.bin/openssl/enc.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: enc.c,v 1.28 2023/06/11 05:45:20 tb Exp $ */ 1/* $OpenBSD: enc.c,v 1.29 2023/06/11 11:54:44 tb Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -362,9 +362,7 @@ enc_main(int argc, char **argv)
362 362
363 cfg.cipher = EVP_get_cipherbyname(pname); 363 cfg.cipher = EVP_get_cipherbyname(pname);
364 364
365 if (!cfg.base64 && cfg.cipher == NULL && 365 if (!cfg.base64 && cfg.cipher == NULL && strcmp(pname, "enc") != 0) {
366 strcmp(pname, "enc") != 0)
367 {
368 BIO_printf(bio_err, "%s is an unknown cipher\n", pname); 366 BIO_printf(bio_err, "%s is an unknown cipher\n", pname);
369 goto end; 367 goto end;
370 } 368 }