summaryrefslogtreecommitdiff
path: root/src/usr.bin/openssl/crl.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr.bin/openssl/crl.c')
-rw-r--r--src/usr.bin/openssl/crl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usr.bin/openssl/crl.c b/src/usr.bin/openssl/crl.c
index 645b16ea54..cb1c18fa40 100644
--- a/src/usr.bin/openssl/crl.c
+++ b/src/usr.bin/openssl/crl.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: crl.c,v 1.11 2018/02/07 05:47:55 jsing Exp $ */ 1/* $OpenBSD: crl.c,v 1.12 2019/01/19 21:17:05 jsg 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 *
@@ -243,7 +243,7 @@ crl_main(int argc, char **argv)
243 } 243 }
244 } 244 }
245 245
246 digest = EVP_sha1(); 246 digest = EVP_sha256();
247 247
248 memset(&crl_config, 0, sizeof(crl_config)); 248 memset(&crl_config, 0, sizeof(crl_config));
249 crl_config.informat = FORMAT_PEM; 249 crl_config.informat = FORMAT_PEM;