summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/Makefile
diff options
context:
space:
mode:
authortb <>2023-07-28 09:53:55 +0000
committertb <>2023-07-28 09:53:55 +0000
commitd4949db8e78438e8bb53c9c1297b068ac0df7827 (patch)
tree307457e0cf8fc786fb4c80edc29a92d5677d406e /src/lib/libcrypto/Makefile
parent681b4eb7a5896143c26eac201c041f6f22357b18 (diff)
downloadopenbsd-d4949db8e78438e8bb53c9c1297b068ac0df7827.tar.gz
openbsd-d4949db8e78438e8bb53c9c1297b068ac0df7827.tar.bz2
openbsd-d4949db8e78438e8bb53c9c1297b068ac0df7827.zip
Set OPENSSL_NO_ENGINE, remove engine code
ENGINE was special. It's horrible code even by the low standards of this library. Some ports may now try to use the stubs which will fail, but the fallout from this should be minimal. Of course there are various language bindings that expose the ENGINE API. OpenSSL 3 disabling ENGINE by default will likely help fixing this at some point. ok jsing
Diffstat (limited to 'src/lib/libcrypto/Makefile')
-rw-r--r--src/lib/libcrypto/Makefile27
1 files changed, 1 insertions, 26 deletions
diff --git a/src/lib/libcrypto/Makefile b/src/lib/libcrypto/Makefile
index 9067c5673e..d44a18846f 100644
--- a/src/lib/libcrypto/Makefile
+++ b/src/lib/libcrypto/Makefile
@@ -1,4 +1,4 @@
1# $OpenBSD: Makefile,v 1.145 2023/07/28 09:46:36 tb Exp $ 1# $OpenBSD: Makefile,v 1.146 2023/07/28 09:53:55 tb Exp $
2 2
3LIB= crypto 3LIB= crypto
4LIBREBUILD=y 4LIBREBUILD=y
@@ -28,9 +28,6 @@ CFLAGS+= -DLIBRESSL_NAMESPACE -DLIBRESSL_CRYPTO_NAMESPACE
28CFLAGS+= -DHAVE_FUNOPEN 28CFLAGS+= -DHAVE_FUNOPEN
29.endif 29.endif
30 30
31# Hardware engines
32CFLAGS+= -DOPENSSL_NO_HW_PADLOCK # XXX enable this?
33
34CFLAGS+= -I${LCRYPTO_SRC} 31CFLAGS+= -I${LCRYPTO_SRC}
35CFLAGS+= -I${LCRYPTO_SRC}/arch/${MACHINE_CPU} 32CFLAGS+= -I${LCRYPTO_SRC}/arch/${MACHINE_CPU}
36CFLAGS+= -I${LCRYPTO_SRC}/asn1 33CFLAGS+= -I${LCRYPTO_SRC}/asn1
@@ -346,28 +343,6 @@ SRCS+= ecdsa.c
346 343
347# engine/ 344# engine/
348SRCS+= engine_stubs.c 345SRCS+= engine_stubs.c
349SRCS+= eng_all.c
350SRCS+= eng_cnf.c
351SRCS+= eng_ctrl.c
352SRCS+= eng_dyn.c
353SRCS+= eng_err.c
354SRCS+= eng_fat.c
355SRCS+= eng_init.c
356SRCS+= eng_lib.c
357SRCS+= eng_list.c
358SRCS+= eng_openssl.c
359SRCS+= eng_pkey.c
360SRCS+= eng_table.c
361SRCS+= tb_asnmth.c
362SRCS+= tb_cipher.c
363SRCS+= tb_dh.c
364SRCS+= tb_digest.c
365SRCS+= tb_dsa.c
366SRCS+= tb_eckey.c
367SRCS+= tb_pkmeth.c
368SRCS+= tb_rand.c
369SRCS+= tb_rsa.c
370SRCS+= tb_store.c
371 346
372# err/ 347# err/
373SRCS+= err.c 348SRCS+= err.c