diff options
author | tb <> | 2024-04-10 16:12:10 +0000 |
---|---|---|
committer | tb <> | 2024-04-10 16:12:10 +0000 |
commit | 30137553e5880795d09be4a50f12f0c075287faf (patch) | |
tree | 23e528ffef1aa73ffa1f0a07e919636e033e6ead /src | |
parent | 1914b880ad98afdf9d32539485d95d1e43c72d06 (diff) | |
download | openbsd-30137553e5880795d09be4a50f12f0c075287faf.tar.gz openbsd-30137553e5880795d09be4a50f12f0c075287faf.tar.bz2 openbsd-30137553e5880795d09be4a50f12f0c075287faf.zip |
symbols test: Remove a few things that are long gone
Diffstat (limited to 'src')
-rw-r--r-- | src/regress/lib/libcrypto/symbols/symbols.awk | 24 |
1 files changed, 5 insertions, 19 deletions
diff --git a/src/regress/lib/libcrypto/symbols/symbols.awk b/src/regress/lib/libcrypto/symbols/symbols.awk index de41d05294..5ad4677815 100644 --- a/src/regress/lib/libcrypto/symbols/symbols.awk +++ b/src/regress/lib/libcrypto/symbols/symbols.awk | |||
@@ -1,4 +1,4 @@ | |||
1 | # $OpenBSD: symbols.awk,v 1.9 2024/03/29 02:30:25 jsing Exp $ | 1 | # $OpenBSD: symbols.awk,v 1.10 2024/04/10 16:12:10 tb Exp $ |
2 | 2 | ||
3 | # Copyright (c) 2018,2020 Theo Buehler <tb@openbsd.org> | 3 | # Copyright (c) 2018,2020 Theo Buehler <tb@openbsd.org> |
4 | # | 4 | # |
@@ -52,15 +52,9 @@ BEGIN { | |||
52 | printf("extern int ASN1_time_tm_clamp_notafter(struct tm *);\n") | 52 | printf("extern int ASN1_time_tm_clamp_notafter(struct tm *);\n") |
53 | } | 53 | } |
54 | 54 | ||
55 | /^OBJ_bsearch_$/ { | 55 | # These are machdep. |
56 | printf("const void *OBJ_bsearch_(const void *key, const void *base, int num,\n") | ||
57 | printf(" int size, int (*cmp)(const void *, const void *));\n") | ||
58 | } | ||
59 | |||
60 | # These are machdep (at least cpuid_setup and ia32cap_P are internal on amd64). | ||
61 | /^OPENSSL_cpuid_setup$/ || | 56 | /^OPENSSL_cpuid_setup$/ || |
62 | /^OPENSSL_cpu_caps$/ || | 57 | /^OPENSSL_cpu_caps$/ { |
63 | /^OPENSSL_ia32cap_P$/ { | ||
64 | printf("/* skipped %s */\n", $0) | 58 | printf("/* skipped %s */\n", $0) |
65 | next | 59 | next |
66 | } | 60 | } |
@@ -77,8 +71,6 @@ BEGIN { | |||
77 | /^ECPARAMETERS_free$/ || | 71 | /^ECPARAMETERS_free$/ || |
78 | /^ECPKPARAMETERS_free$/ || | 72 | /^ECPKPARAMETERS_free$/ || |
79 | /^EC_PRIVATEKEY_free$/ || | 73 | /^EC_PRIVATEKEY_free$/ || |
80 | /^NETSCAPE_ENCRYPTED_PKEY_free$/ || | ||
81 | /^NETSCAPE_PKEY_free$/ || | ||
82 | /^X9_62_CHARACTERISTIC_TWO_free$/ || | 74 | /^X9_62_CHARACTERISTIC_TWO_free$/ || |
83 | /^X9_62_PENTANOMIAL_free$/ { | 75 | /^X9_62_PENTANOMIAL_free$/ { |
84 | printf("extern void %s(void *);\n", $0) | 76 | printf("extern void %s(void *);\n", $0) |
@@ -88,25 +80,19 @@ BEGIN { | |||
88 | /^ECPARAMETERS_new$/ || | 80 | /^ECPARAMETERS_new$/ || |
89 | /^ECPKPARAMETERS_new$/ || | 81 | /^ECPKPARAMETERS_new$/ || |
90 | /^EC_PRIVATEKEY_new$/ || | 82 | /^EC_PRIVATEKEY_new$/ || |
91 | /^NETSCAPE_ENCRYPTED_PKEY_new$/ || | ||
92 | /^NETSCAPE_PKEY_new$/ || | ||
93 | /^X9_62_CHARACTERISTIC_TWO_new$/ || | 83 | /^X9_62_CHARACTERISTIC_TWO_new$/ || |
94 | /^X9_62_PENTANOMIAL_new$/ { | 84 | /^X9_62_PENTANOMIAL_new$/ { |
95 | printf("extern void *%s(void);\n", $0) | 85 | printf("extern void *%s(void);\n", $0) |
96 | } | 86 | } |
97 | 87 | ||
98 | /^d2i_ECPKPARAMETERS$/ || | 88 | /^d2i_ECPKPARAMETERS$/ || |
99 | /^d2i_EC_PRIVATEKEY$/ || | 89 | /^d2i_EC_PRIVATEKEY$/ { |
100 | /^d2i_NETSCAPE_ENCRYPTED_PKEY$/ || | ||
101 | /^d2i_NETSCAPE_PKEY$/ { | ||
102 | printf("extern void *%s", $0) | 90 | printf("extern void *%s", $0) |
103 | printf("(void *, const unsigned char *, const unsigned char *);\n") | 91 | printf("(void *, const unsigned char *, const unsigned char *);\n") |
104 | } | 92 | } |
105 | 93 | ||
106 | /^i2d_ECPKPARAMETERS$/ || | 94 | /^i2d_ECPKPARAMETERS$/ || |
107 | /^i2d_EC_PRIVATEKEY$/ || | 95 | /^i2d_EC_PRIVATEKEY$/ { |
108 | /^i2d_NETSCAPE_ENCRYPTED_PKEY$/ || | ||
109 | /^i2d_NETSCAPE_PKEY$/ { | ||
110 | printf("extern int %s", $0) | 96 | printf("extern int %s", $0) |
111 | printf("(const void *, unsigned char **);\n") | 97 | printf("(const void *, unsigned char **);\n") |
112 | } | 98 | } |