From e1ddcff2f00297d7a32e074188d1037d288a6212 Mon Sep 17 00:00:00 2001 From: Mikhail Timofeev <48208649+miketimofeev@users.noreply.github.com> Date: Fri, 19 Mar 2021 13:43:48 +0300 Subject: [PATCH] Add openssl to software readme (#2984) --- .../linux/scripts/SoftwareReport/SoftwareReport.Common.psm1 | 4 ++++ .../linux/scripts/SoftwareReport/SoftwareReport.Generator.ps1 | 1 + 2 files changed, 5 insertions(+) diff --git a/images/linux/scripts/SoftwareReport/SoftwareReport.Common.psm1 b/images/linux/scripts/SoftwareReport/SoftwareReport.Common.psm1 index d0fa915e2..6205569b5 100644 --- a/images/linux/scripts/SoftwareReport/SoftwareReport.Common.psm1 +++ b/images/linux/scripts/SoftwareReport/SoftwareReport.Common.psm1 @@ -48,6 +48,10 @@ function Get-NodeVersion { return "Node $nodeVersion" } +function Get-OpensslVersion { + return $(openssl version) +} + function Get-PerlVersion { $version = $(perl -e 'print substr($^V,1)') return "Perl $version" diff --git a/images/linux/scripts/SoftwareReport/SoftwareReport.Generator.ps1 b/images/linux/scripts/SoftwareReport/SoftwareReport.Generator.ps1 index ebf3fa439..e439e237b 100644 --- a/images/linux/scripts/SoftwareReport/SoftwareReport.Generator.ps1 +++ b/images/linux/scripts/SoftwareReport/SoftwareReport.Generator.ps1 @@ -129,6 +129,7 @@ $toolsList = @( (Get-NetToolsVersion), (Get-NewmanVersion), (Get-NvmVersion), + (Get-OpensslVersion), (Get-PackerVersion), (Get-PassVersion), (Get-PhantomJSVersion),