summaryrefslogtreecommitdiff
path: root/src/regress/lib/libcrypto/free/freenull.awk
diff options
context:
space:
mode:
Diffstat (limited to 'src/regress/lib/libcrypto/free/freenull.awk')
-rw-r--r--src/regress/lib/libcrypto/free/freenull.awk9
1 files changed, 1 insertions, 8 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}