Skip to content

Commit 80880d2

Browse files
committed
provider config generator: Fix name of evp_properties section
The evp_properties section must be named "evp_properties", not "evp_properties_section". Some distros modify the default OpenSSL config file to include additional config files with additional config settings. If such an included config file defines the evp_properties section and sets the alg_section setting to point to that evp_properties section, then it overwrites or disables the evp_properties_section from the generated config file for the IBMCA provider. Signed-off-by: Ingo Franzki <ifranzki@linux.ibm.com>
1 parent 3806698 commit 80880d2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/provider/ibmca-provider-opensslconfig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ sub generate()
5555
print $oh "providers = provider_section\n";
5656
}
5757
if (!$algsection) {
58-
print $oh "alg_section = evp_properties_section\n";
58+
print $oh "alg_section = evp_properties\n";
5959
}
6060
$indefaultsect = 0;
6161
} elsif ($line =~ /^\s*providers\s*=\s*(\w+)\s*/) {
@@ -137,7 +137,7 @@ algorithms = RSA,EC,DH
137137

138138
if (!$algsection) {
139139
print $oh qq|
140-
[evp_properties_section]
140+
[evp_properties]
141141
default_properties = ?provider=ibmca
142142
|;
143143
}

0 commit comments

Comments
 (0)