diff options
author | Matt Caswell <matt@openssl.org> | 2021-12-29 14:44:00 +0000 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2021-12-30 16:51:26 +0000 |
commit | 824b0d56e757f4a5c0f8af48add768db33d8ce51 (patch) | |
tree | 3046c60bedaf0d16fc1400039acea77ea7a8a829 /test | |
parent | 5713edd873e87a620fbb8be90c7bc1a51fa43c5c (diff) |
Fix the symbol_presence test with a shlib_variant
If a shlib_variant is used then the dynamic version information for
symbols will be different from what the symbol presence test was
expecting. We just make it more liberal about what it accepts as dynamic
version information.
Fixes #17366
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/17372)
(cherry picked from commit 805bdac5f37bb820658f70269941086bef6c085b)
Diffstat (limited to 'test')
-rw-r--r-- | test/recipes/01-test_symbol_presence.t | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/recipes/01-test_symbol_presence.t b/test/recipes/01-test_symbol_presence.t index efe0760c25..5530ade0ad 100644 --- a/test/recipes/01-test_symbol_presence.t +++ b/test/recipes/01-test_symbol_presence.t @@ -76,7 +76,7 @@ foreach my $libname (@libnames) { # Drop the first space and everything following it s| .*||; # Drop OpenSSL dynamic version information if there is any - s|\@\@OPENSSL_[0-9._]+[a-z]?$||; + s|\@\@.+$||; # Return the result $_ } |