if disabled("engine");
plan skip_all => "$test_name can only be performed with OpenSSL configured shared"
- unless (map { s/\R//; s/^SHARED_LIBS=\s*//; $_ }
- grep { /^SHARED_LIBS=/ }
- do { local @ARGV = ( top_file("Makefile") ); <> })[0] ne "";
+ if config("no_shared");
plan skip_all => "dh is not supported by this OpenSSL build"
if disabled("dh");