summaryrefslogtreecommitdiff
path: root/src/usr.bin/openssl/Makefile
diff options
context:
space:
mode:
authorjsing <>2015-02-10 15:29:34 +0000
committerjsing <>2015-02-10 15:29:34 +0000
commitb2c538142cfc76f91bea09b3f7c963c7a5265659 (patch)
tree9f2c13f7bedc8d66ebe176e93c7aa04db8707df3 /src/usr.bin/openssl/Makefile
parentb5dcc59b2cf1dad7e9ebcc08266a1bf71c384886 (diff)
downloadopenbsd-b2c538142cfc76f91bea09b3f7c963c7a5265659.tar.gz
openbsd-b2c538142cfc76f91bea09b3f7c963c7a5265659.tar.bz2
openbsd-b2c538142cfc76f91bea09b3f7c963c7a5265659.zip
Introduce an openssl(1) certhash command.
This is effectively a reimplementation of the functionality provided by the previously removed c_rehash Perl script. The c_rehash script had a number of known issues, including the fact that it needs to run openssl(1) multiple times and that it starts by removing all symlinks before putting them back, creating atomicity issues/race conditions, even when nothing has changed. certhash is self-contained and is intended to be stable - no changes should be made unless something has actually changed. This means it can be run regularly in a production environment without causing certificate lookup failures. Further testing and improvements will happen in tree. Discussed with tedu@
Diffstat (limited to 'src/usr.bin/openssl/Makefile')
-rw-r--r--src/usr.bin/openssl/Makefile16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/usr.bin/openssl/Makefile b/src/usr.bin/openssl/Makefile
index 1619163a13..04a24c8c59 100644
--- a/src/usr.bin/openssl/Makefile
+++ b/src/usr.bin/openssl/Makefile
@@ -1,4 +1,4 @@
1# $OpenBSD: Makefile,v 1.4 2014/12/03 22:16:02 bcook Exp $ 1# $OpenBSD: Makefile,v 1.5 2015/02/10 15:29:34 jsing Exp $
2 2
3PROG= openssl 3PROG= openssl
4LDADD= -lssl -lcrypto 4LDADD= -lssl -lcrypto
@@ -17,12 +17,12 @@ CFLAGS+= -Wunused
17 17
18CFLAGS+= -DLIBRESSL_INTERNAL 18CFLAGS+= -DLIBRESSL_INTERNAL
19 19
20SRCS= apps.c apps_posix.c asn1pars.c ca.c ciphers.c cms.c crl.c crl2p7.c \ 20SRCS= apps.c apps_posix.c asn1pars.c ca.c certhash.c ciphers.c cms.c crl.c \
21 dgst.c dh.c dhparam.c dsa.c dsaparam.c ec.c ecparam.c enc.c engine.c \ 21 crl2p7.c dgst.c dh.c dhparam.c dsa.c dsaparam.c ec.c ecparam.c enc.c \
22 errstr.c gendh.c gendsa.c genpkey.c genrsa.c nseq.c ocsp.c openssl.c \ 22 engine.c errstr.c gendh.c gendsa.c genpkey.c genrsa.c nseq.c ocsp.c \
23 passwd.c pkcs12.c pkcs7.c pkcs8.c pkey.c pkeyparam.c pkeyutl.c prime.c \ 23 openssl.c passwd.c pkcs12.c pkcs7.c pkcs8.c pkey.c pkeyparam.c \
24 rand.c req.c rsa.c rsautl.c s_cb.c s_client.c s_server.c s_socket.c \ 24 pkeyutl.c prime.c rand.c req.c rsa.c rsautl.c s_cb.c s_client.c \
25 s_time.c sess_id.c smime.c speed.c spkac.c ts.c verify.c version.c \ 25 s_server.c s_socket.c s_time.c sess_id.c smime.c speed.c spkac.c ts.c \
26 x509.c 26 verify.c version.c x509.c
27 27
28.include <bsd.prog.mk> 28.include <bsd.prog.mk>