Skip to content

Commit

Permalink
Fix the symbol_presence test with a shlib_variant
Browse files Browse the repository at this point in the history
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 openssl#17366

Reviewed-by: Tomas Mraz <[email protected]>
(Merged from openssl#17372)
  • Loading branch information
mattcaswell committed Dec 30, 2021
1 parent ad1a1d7 commit 805bdac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/recipes/01-test_symbol_presence.t
Original file line number Diff line number Diff line change
Expand Up @@ -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
$_
}
Expand Down

0 comments on commit 805bdac

Please sign in to comment.