diff options
author | tb <> | 2023-11-19 13:11:06 +0000 |
---|---|---|
committer | tb <> | 2023-11-19 13:11:06 +0000 |
commit | fb1118fbee181ebbe9e392e154b296f14bcd5354 (patch) | |
tree | 0679daa2e335eaf7be0ab335b57d0e34615804b8 /src/regress/lib/libcrypto/free | |
parent | bfddc812354088c190d7f79d600e1f937ba951ef (diff) | |
download | openbsd-fb1118fbee181ebbe9e392e154b296f14bcd5354.tar.gz openbsd-fb1118fbee181ebbe9e392e154b296f14bcd5354.tar.bz2 openbsd-fb1118fbee181ebbe9e392e154b296f14bcd5354.zip |
Unifdef OPENSSL_NO_ENGINE in libcrypto regress
Diffstat (limited to 'src/regress/lib/libcrypto/free')
-rw-r--r-- | src/regress/lib/libcrypto/free/freenull.awk | 9 | ||||
-rw-r--r-- | src/regress/lib/libcrypto/free/freenull.c.head | 5 |
2 files changed, 2 insertions, 12 deletions
diff --git a/src/regress/lib/libcrypto/free/freenull.awk b/src/regress/lib/libcrypto/free/freenull.awk index 618034cc70..3a10d99ebb 100644 --- a/src/regress/lib/libcrypto/free/freenull.awk +++ b/src/regress/lib/libcrypto/free/freenull.awk | |||
@@ -1,4 +1,4 @@ | |||
1 | # $OpenBSD: freenull.awk,v 1.3 2023/07/28 18:29:26 tb Exp $ | 1 | # $OpenBSD: freenull.awk,v 1.4 2023/11/19 13:11:06 tb Exp $ |
2 | # Copyright (c) 2018 Theo Buehler <tb@openbsd.org> | 2 | # Copyright (c) 2018 Theo Buehler <tb@openbsd.org> |
3 | # | 3 | # |
4 | # Permission to use, copy, modify, and distribute this software for any | 4 | # Permission to use, copy, modify, and distribute this software for any |
@@ -42,13 +42,6 @@ | |||
42 | next | 42 | next |
43 | } | 43 | } |
44 | 44 | ||
45 | /^ENGINE_free$/ { | ||
46 | printf("#ifndef OPENSSL_NO_ENGINE\n") | ||
47 | printf("\tENGINE_free(NULL);\n") | ||
48 | printf("#endif\n") | ||
49 | next | ||
50 | } | ||
51 | |||
52 | /_free$/ { | 45 | /_free$/ { |
53 | printf("\t%s(NULL);\n", $0) | 46 | printf("\t%s(NULL);\n", $0) |
54 | } | 47 | } |
diff --git a/src/regress/lib/libcrypto/free/freenull.c.head b/src/regress/lib/libcrypto/free/freenull.c.head index dc1a7da523..43b87598e1 100644 --- a/src/regress/lib/libcrypto/free/freenull.c.head +++ b/src/regress/lib/libcrypto/free/freenull.c.head | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: freenull.c.head,v 1.6 2023/07/28 17:13:56 tb Exp $ */ | 1 | /* $OpenBSD: freenull.c.head,v 1.7 2023/11/19 13:11:06 tb Exp $ */ |
2 | 2 | ||
3 | #include <openssl/asn1.h> | 3 | #include <openssl/asn1.h> |
4 | #include <openssl/cmac.h> | 4 | #include <openssl/cmac.h> |
@@ -6,9 +6,6 @@ | |||
6 | #include <openssl/comp.h> | 6 | #include <openssl/comp.h> |
7 | #include <openssl/conf_api.h> | 7 | #include <openssl/conf_api.h> |
8 | #include <openssl/ct.h> | 8 | #include <openssl/ct.h> |
9 | #ifndef OPENSSL_NO_ENGINE | ||
10 | #include <openssl/engine.h> | ||
11 | #endif | ||
12 | #include <openssl/gost.h> | 9 | #include <openssl/gost.h> |
13 | #include <openssl/hmac.h> | 10 | #include <openssl/hmac.h> |
14 | #include <openssl/ocsp.h> | 11 | #include <openssl/ocsp.h> |