Commit 15755c047d for openssl.org

commit 15755c047d3b123f77188a57c299144c235bbcc1
Author: Milan Broz <gmazyland@gmail.com>
Date:   Sat Mar 21 13:56:35 2026 +0100

    Fix oids_to_c.pm to not print warnings on Windows.

    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)

diff --git a/providers/common/der/oids_to_c.pm b/providers/common/der/oids_to_c.pm
index 6f57df09b9..c5137065a3 100644
--- a/providers/common/der/oids_to_c.pm
+++ b/providers/common/der/oids_to_c.pm
@@ -80,7 +80,7 @@ sub _process {
         # 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;