diff options
| author | bcook <> | 2014-12-03 22:16:02 +0000 |
|---|---|---|
| committer | bcook <> | 2014-12-03 22:16:02 +0000 |
| commit | 56ba4dfacce3236710ca61edbd40744a424ca728 (patch) | |
| tree | e603f3b2b9b847e1ad959cceefe86bfb3d1513d9 /src/usr.bin/openssl/Makefile | |
| parent | dce88910ead3a43bc663d7d9e46e2689189ac19d (diff) | |
| download | openbsd-56ba4dfacce3236710ca61edbd40744a424ca728.tar.gz openbsd-56ba4dfacce3236710ca61edbd40744a424ca728.tar.bz2 openbsd-56ba4dfacce3236710ca61edbd40744a424ca728.zip | |
Move Windows OS-specific functions to make porting easier.
Several functions that need to be redefined for a Windows port are right
in the middle of other code that is relatively portable. This patch
isolates the functions that need Windows-specific implementations so
they can be built conditionally in the portable tree.
Add calls to BIO_sock_init() as-needed to openssl(1) so that socket IO works on
Windows. Sorry, these are no-op on other platforms.
ok jsing@ deraadt@
Diffstat (limited to 'src/usr.bin/openssl/Makefile')
| -rw-r--r-- | src/usr.bin/openssl/Makefile | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/src/usr.bin/openssl/Makefile b/src/usr.bin/openssl/Makefile index 015d9abeb6..1619163a13 100644 --- a/src/usr.bin/openssl/Makefile +++ b/src/usr.bin/openssl/Makefile | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | # $OpenBSD: Makefile,v 1.3 2014/09/10 16:51:42 jsing Exp $ | 1 | # $OpenBSD: Makefile,v 1.4 2014/12/03 22:16:02 bcook Exp $ |
| 2 | 2 | ||
| 3 | PROG= openssl | 3 | PROG= openssl |
| 4 | LDADD= -lssl -lcrypto | 4 | LDADD= -lssl -lcrypto |
| @@ -17,11 +17,12 @@ CFLAGS+= -Wunused | |||
| 17 | 17 | ||
| 18 | CFLAGS+= -DLIBRESSL_INTERNAL | 18 | CFLAGS+= -DLIBRESSL_INTERNAL |
| 19 | 19 | ||
| 20 | SRCS= apps.c asn1pars.c ca.c ciphers.c cms.c crl.c crl2p7.c dgst.c dh.c \ | 20 | SRCS= apps.c apps_posix.c asn1pars.c ca.c ciphers.c cms.c crl.c crl2p7.c \ |
| 21 | dhparam.c dsa.c dsaparam.c ec.c ecparam.c enc.c engine.c errstr.c \ | 21 | dgst.c dh.c dhparam.c dsa.c dsaparam.c ec.c ecparam.c enc.c engine.c \ |
| 22 | gendh.c gendsa.c genpkey.c genrsa.c nseq.c ocsp.c openssl.c passwd.c \ | 22 | errstr.c gendh.c gendsa.c genpkey.c genrsa.c nseq.c ocsp.c openssl.c \ |
| 23 | pkcs12.c pkcs7.c pkcs8.c pkey.c pkeyparam.c pkeyutl.c prime.c rand.c \ | 23 | passwd.c pkcs12.c pkcs7.c pkcs8.c pkey.c pkeyparam.c pkeyutl.c prime.c \ |
| 24 | req.c rsa.c rsautl.c s_cb.c s_client.c s_server.c s_socket.c s_time.c \ | 24 | rand.c req.c rsa.c rsautl.c s_cb.c s_client.c s_server.c s_socket.c \ |
| 25 | sess_id.c smime.c speed.c spkac.c ts.c verify.c version.c x509.c | 25 | s_time.c sess_id.c smime.c speed.c spkac.c ts.c verify.c version.c \ |
| 26 | x509.c | ||
| 26 | 27 | ||
| 27 | .include <bsd.prog.mk> | 28 | .include <bsd.prog.mk> |
