The oids_to_pm with Strawberry Perl often prints these errors:
Use of uninitialized value in join or string at Strawberry/perl/lib/re.pm line 47.
This is caused by use re 'debugcolor' in the perl module.
As Windows does not have proper termcap database and colors
also do not work in cmd shell, let's just use non-colored
'debug' version.
Signed-off-by: Milan Broz <gmazyland@gmail.com>
Reviewed-by: Norbert Pocs <norbertp@openssl.org>
Reviewed-by: Nikola Pajkovsky <nikolap@openssl.org>
MergeDate: Tue Mar 24 17:04:23 2026
(Merged from https://github.com/openssl/openssl/pull/30521)
(cherry picked from commit
15755c047d3b123f77188a57c299144c235bbcc1)
# print STDERR "-----BEGIN DEBUG-----\n";
# print STDERR $text;
# print STDERR "-----END DEBUG-----\n";
- use re 'debugcolor';
+ use re 'debug';
while ($text =~ m/${OID_def_re}/sg) {
my $comment = $&;
my $name = $1;