summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/usr.bin/openssl/Makefile4
-rw-r--r--src/usr.bin/openssl/openssl.c5
-rw-r--r--src/usr.bin/openssl/progs.h3
3 files changed, 8 insertions, 4 deletions
diff --git a/src/usr.bin/openssl/Makefile b/src/usr.bin/openssl/Makefile
index 7efc759ceb..664a520003 100644
--- a/src/usr.bin/openssl/Makefile
+++ b/src/usr.bin/openssl/Makefile
@@ -1,4 +1,4 @@
1# $OpenBSD: Makefile,v 1.10 2017/08/13 19:42:33 doug Exp $ 1# $OpenBSD: Makefile,v 1.11 2019/11/04 15:25:54 jsing Exp $
2 2
3.include <bsd.own.mk> 3.include <bsd.own.mk>
4 4
@@ -20,7 +20,7 @@ CFLAGS+= -Werror
20.endif 20.endif
21CFLAGS+= -DLIBRESSL_INTERNAL 21CFLAGS+= -DLIBRESSL_INTERNAL
22 22
23SRCS= apps.c apps_posix.c asn1pars.c ca.c certhash.c ciphers.c crl.c \ 23SRCS= apps.c apps_posix.c asn1pars.c ca.c certhash.c ciphers.c cms.c crl.c \
24 crl2p7.c dgst.c dh.c dhparam.c dsa.c dsaparam.c ec.c ecparam.c enc.c \ 24 crl2p7.c dgst.c dh.c dhparam.c dsa.c dsaparam.c ec.c ecparam.c enc.c \
25 errstr.c gendh.c gendsa.c genpkey.c genrsa.c nseq.c ocsp.c \ 25 errstr.c gendh.c gendsa.c genpkey.c genrsa.c nseq.c ocsp.c \
26 openssl.c passwd.c pkcs12.c pkcs7.c pkcs8.c pkey.c pkeyparam.c \ 26 openssl.c passwd.c pkcs12.c pkcs7.c pkcs8.c pkey.c pkeyparam.c \
diff --git a/src/usr.bin/openssl/openssl.c b/src/usr.bin/openssl/openssl.c
index dbd15c80a8..42b9b91b7a 100644
--- a/src/usr.bin/openssl/openssl.c
+++ b/src/usr.bin/openssl/openssl.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: openssl.c,v 1.29 2019/03/17 17:46:00 tb Exp $ */ 1/* $OpenBSD: openssl.c,v 1.30 2019/11/04 15:25:54 jsing 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 *
@@ -154,6 +154,9 @@ FUNCTION functions[] = {
154 { FUNC_TYPE_GENERAL, "ca", ca_main }, 154 { FUNC_TYPE_GENERAL, "ca", ca_main },
155 { FUNC_TYPE_GENERAL, "certhash", certhash_main }, 155 { FUNC_TYPE_GENERAL, "certhash", certhash_main },
156 { FUNC_TYPE_GENERAL, "ciphers", ciphers_main }, 156 { FUNC_TYPE_GENERAL, "ciphers", ciphers_main },
157#ifndef OPENSSL_NO_CMS
158 { FUNC_TYPE_GENERAL, "cms", cms_main },
159#endif
157 { FUNC_TYPE_GENERAL, "crl2pkcs7", crl2pkcs7_main }, 160 { FUNC_TYPE_GENERAL, "crl2pkcs7", crl2pkcs7_main },
158 { FUNC_TYPE_GENERAL, "crl", crl_main }, 161 { FUNC_TYPE_GENERAL, "crl", crl_main },
159 { FUNC_TYPE_GENERAL, "dgst", dgst_main }, 162 { FUNC_TYPE_GENERAL, "dgst", dgst_main },
diff --git a/src/usr.bin/openssl/progs.h b/src/usr.bin/openssl/progs.h
index 1c11a35655..8ccf8123f4 100644
--- a/src/usr.bin/openssl/progs.h
+++ b/src/usr.bin/openssl/progs.h
@@ -1,10 +1,11 @@
1/* $OpenBSD: progs.h,v 1.8 2016/09/05 10:45:19 deraadt Exp $ */ 1/* $OpenBSD: progs.h,v 1.9 2019/11/04 15:25:54 jsing Exp $ */
2/* Public domain */ 2/* Public domain */
3 3
4int asn1parse_main(int argc, char **argv); 4int asn1parse_main(int argc, char **argv);
5int ca_main(int argc, char **argv); 5int ca_main(int argc, char **argv);
6int certhash_main(int argc, char **argv); 6int certhash_main(int argc, char **argv);
7int ciphers_main(int argc, char **argv); 7int ciphers_main(int argc, char **argv);
8int cms_main(int argc, char **argv);
8int crl2pkcs7_main(int argc, char **argv); 9int crl2pkcs7_main(int argc, char **argv);
9int crl_main(int argc, char **argv); 10int crl_main(int argc, char **argv);
10int dgst_main(int argc, char **argv); 11int dgst_main(int argc, char **argv);