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
commit255eef6bb1995eab7ab2d49c2cdb78074d9eefa2 (patch)
tree45b60529c67dc750b35039330e15f78c18a280e3 /src
parent1bfadb04fff2939c5bcb486189a56739bdd8ca85 (diff)
downloadopenbsd-255eef6bb1995eab7ab2d49c2cdb78074d9eefa2.tar.gz
openbsd-255eef6bb1995eab7ab2d49c2cdb78074d9eefa2.tar.bz2
openbsd-255eef6bb1995eab7ab2d49c2cdb78074d9eefa2.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 }