From 6c795dedc0c72ffd2e16b43ef04a839f534eb66b Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Tue, 14 Jan 2020 09:36:53 +0100 Subject: [PATCH] Add openssl version to diagnose command, refs #8506 --- src/Composer/Command/DiagnoseCommand.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Composer/Command/DiagnoseCommand.php b/src/Composer/Command/DiagnoseCommand.php index 9bc271fa1..6c9158630 100644 --- a/src/Composer/Command/DiagnoseCommand.php +++ b/src/Composer/Command/DiagnoseCommand.php @@ -172,6 +172,8 @@ EOT $io->write(sprintf('PHP binary path: %s', PHP_BINARY)); } + $io->write(sprintf('OpenSSL version: %s', OPENSSL_VERSION_TEXT)); + return $this->exitCode; }