Skip to content

Commit 41d5fd0

Browse files
committed
provider config generator: White-space fixes
Signed-off-by: Ingo Franzki <ifranzki@linux.ibm.com>
1 parent 80880d2 commit 41d5fd0

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

src/provider/ibmca-provider-opensslconfig

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -68,31 +68,31 @@ sub generate()
6868
} elsif ($inalgsect) {
6969
if ($line =~ /\[\s*\w+\s*\]/) {
7070
print $oh "default_properties = ?provider=ibmca\n";
71-
$inalgsect = 0;
71+
$inalgsect = 0;
7272
} elsif ($line =~ /^\s*default_properties\s*=\s*(\w+)\s*/) {
7373
print $oh "default_properties = ?provider=ibmca\n";
7474
print $oh "# The following was commented out by ibmca-provider-opensslconfig script\n";
7575
print "WARNING: The default_properties in $algsection was modified by this script.\n";
7676
$line = "# $line";
7777
}
7878
} elsif ($inprovidersect) {
79-
if ($line =~ /\[\s*\w+\s*\]/) {
80-
$inprovidersect = 0;
81-
print $oh "ibmca_provider = ibmca_provider_section\n";
82-
print $oh "# Make sure that you have configured and activated at least one other provider!\n";
83-
print "WARNING: The IBMCA provider was added to section [$providersect].\n";
84-
print "Make sure that you have configured and activated at least one other provider, e.g. the default provider!\n";
85-
}
86-
}
79+
if ($line =~ /\[\s*\w+\s*\]/) {
80+
$inprovidersect = 0;
81+
print $oh "ibmca_provider = ibmca_provider_section\n";
82+
print $oh "# Make sure that you have configured and activated at least one other provider!\n";
83+
print "WARNING: The IBMCA provider was added to section [$providersect].\n";
84+
print "Make sure that you have configured and activated at least one other provider, e.g. the default provider!\n";
85+
}
86+
}
8787
print $oh "$line";
8888
if ($defaultcnfsect && $line =~ /\[\s*$defaultcnfsect\s*\]/) {
8989
$indefaultsect = 1;
9090
}
9191
if ($algsection && $line =~ /\[\s*$algsection\s*\]/) {
9292
$inalgsect = 1;
9393
}
94-
if ($providersect && $line =~ /\[\s*$providersect\s*\]/) {
95-
$inprovidersect = 1;
94+
if ($providersect && $line =~ /\[\s*$providersect\s*\]/) {
95+
$inprovidersect = 1;
9696
}
9797
}
9898

0 commit comments

Comments
 (0)