diff options
author | tb <> | 2023-07-28 09:53:55 +0000 |
---|---|---|
committer | tb <> | 2023-07-28 09:53:55 +0000 |
commit | d4949db8e78438e8bb53c9c1297b068ac0df7827 (patch) | |
tree | 307457e0cf8fc786fb4c80edc29a92d5677d406e /src/lib/libcrypto/Makefile | |
parent | 681b4eb7a5896143c26eac201c041f6f22357b18 (diff) | |
download | openbsd-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/Makefile | 27 |
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 | ||
3 | LIB= crypto | 3 | LIB= crypto |
4 | LIBREBUILD=y | 4 | LIBREBUILD=y |
@@ -28,9 +28,6 @@ CFLAGS+= -DLIBRESSL_NAMESPACE -DLIBRESSL_CRYPTO_NAMESPACE | |||
28 | CFLAGS+= -DHAVE_FUNOPEN | 28 | CFLAGS+= -DHAVE_FUNOPEN |
29 | .endif | 29 | .endif |
30 | 30 | ||
31 | # Hardware engines | ||
32 | CFLAGS+= -DOPENSSL_NO_HW_PADLOCK # XXX enable this? | ||
33 | |||
34 | CFLAGS+= -I${LCRYPTO_SRC} | 31 | CFLAGS+= -I${LCRYPTO_SRC} |
35 | CFLAGS+= -I${LCRYPTO_SRC}/arch/${MACHINE_CPU} | 32 | CFLAGS+= -I${LCRYPTO_SRC}/arch/${MACHINE_CPU} |
36 | CFLAGS+= -I${LCRYPTO_SRC}/asn1 | 33 | CFLAGS+= -I${LCRYPTO_SRC}/asn1 |
@@ -346,28 +343,6 @@ SRCS+= ecdsa.c | |||
346 | 343 | ||
347 | # engine/ | 344 | # engine/ |
348 | SRCS+= engine_stubs.c | 345 | SRCS+= engine_stubs.c |
349 | SRCS+= eng_all.c | ||
350 | SRCS+= eng_cnf.c | ||
351 | SRCS+= eng_ctrl.c | ||
352 | SRCS+= eng_dyn.c | ||
353 | SRCS+= eng_err.c | ||
354 | SRCS+= eng_fat.c | ||
355 | SRCS+= eng_init.c | ||
356 | SRCS+= eng_lib.c | ||
357 | SRCS+= eng_list.c | ||
358 | SRCS+= eng_openssl.c | ||
359 | SRCS+= eng_pkey.c | ||
360 | SRCS+= eng_table.c | ||
361 | SRCS+= tb_asnmth.c | ||
362 | SRCS+= tb_cipher.c | ||
363 | SRCS+= tb_dh.c | ||
364 | SRCS+= tb_digest.c | ||
365 | SRCS+= tb_dsa.c | ||
366 | SRCS+= tb_eckey.c | ||
367 | SRCS+= tb_pkmeth.c | ||
368 | SRCS+= tb_rand.c | ||
369 | SRCS+= tb_rsa.c | ||
370 | SRCS+= tb_store.c | ||
371 | 346 | ||
372 | # err/ | 347 | # err/ |
373 | SRCS+= err.c | 348 | SRCS+= err.c |