[openssl/openssl] e06fe9: Drop Watcom C compiler support.

"'Bob Beck' via openssl-commits" <[email protected]> Fri, 10 Jul 2026 04:54:37 -0700
Newsgroups gmane.comp.encryption.openssl.cvs
Message-ID <openssl/openssl/push/refs/heads/master/[email protected]>
  Branch: refs/heads/master
  Home:   https://github.com/openssl/openssl
  Commit: e06fe987699b23984bee7e738a3f393b05359af0
      https://github.com/openssl/openssl/commit/e06fe987699b23984bee7e738a3f393b05359af0
  Author: Bob Beck <[email protected]>
  Date:   2026-07-10 (Fri, 10 Jul 2026)

  Changed paths:
    M crypto/cryptlib.c

  Log Message:
  -----------
  Drop Watcom C compiler support.

The only Watcom-specific code in the tree was a <tchar.h> _vsntprintf
mapping in crypto/cryptlib.c. There is no Watcom entry in Configurations/,
no CI job builds with Watcom, and the tree has had no other Watcom-aware
code in many years. The _vsntprintf symbol is supplied by <tchar.h>
on every supported Windows toolchain (MSVC, MinGW), so the conditional
fallback is dead.

Reviewed-by: Milan Broz <[email protected]>
Reviewed-by: Tomas Mraz <[email protected]>
Reviewed-by: Neil Horman <[email protected]>
MergeDate: Fri Jul 10 11:47:15 2026
(Merged from https://github.com/openssl/openssl/pull/31677)


  Commit: a7241e862e7a3faa3bd0f254ab6f968cbf98f6f4
      https://github.com/openssl/openssl/commit/a7241e862e7a3faa3bd0f254ab6f968cbf98f6f4
  Author: Bob Beck <[email protected]>
  Date:   2026-07-10 (Fri, 10 Jul 2026)

  Changed paths:
    M Configurations/10-main.conf
    M crypto/armcap.c
    M crypto/bn/asm/x86_64-gcc.c
    M crypto/bn/bn_div.c
    M crypto/bn/bn_local.h
    M crypto/chacha/chacha_enc.c
    M crypto/des/des_local.h
    M crypto/ec/curve448/curve448.c
    M crypto/ppccap.c
    M crypto/rc5/rc5_local.h
    M crypto/riscvcap.c
    M crypto/sha/sha256.c
    M crypto/sha/sha512.c
    M crypto/sm3/sm3_local.h
    M crypto/sparcv9cap.c
    M crypto/whrlpool/wp_block.c
    M include/crypto/modes.h
    M include/openssl/e_os2.h
    M include/openssl/macros.h
    M providers/fips/self_test_kats.c
    M providers/implementations/rands/seeding/rand_unix.c

  Log Message:
  -----------
  We no longer need to test for GCC versions this old

The minimum gcc to compile our code appears to be version 9, and
we are now C99.

All these older checks become a tautology on anything that will
build a modern OpenSSL tree, so clean this up.

Reviewed-by: Milan Broz <[email protected]>
Reviewed-by: Tomas Mraz <[email protected]>
Reviewed-by: Neil Horman <[email protected]>
MergeDate: Fri Jul 10 11:47:17 2026
(Merged from https://github.com/openssl/openssl/pull/31677)


  Commit: aa2b1432b3245b81a08852380b237b5795b46a96
      https://github.com/openssl/openssl/commit/aa2b1432b3245b81a08852380b237b5795b46a96
  Author: Bob Beck <[email protected]>
  Date:   2026-07-10 (Fri, 10 Jul 2026)

  Changed paths:
    M include/openssl/bio.h.in
    M test/testutil.h
    M test/testutil/output.h

  Log Message:
  -----------
  Simplify printf-attribute guards in bio.h.in and test/testutil/output.h.

Now that C99 is the base level, and we are no longer supporting old
GCC's, The ossl_bio__printf__ / ossl_test__printf__ indirection only existed
to pick the gnu_printf attribute over the printf attribute for MinGW's MS-CRT printf, but
MinGW is already excluded by the outer guard, so we can use the modern attribute
everywhere this code runs.

Spotted by idrassi on review, thanks!.

Reviewed-by: Milan Broz <[email protected]>
Reviewed-by: Tomas Mraz <[email protected]>
Reviewed-by: Neil Horman <[email protected]>
MergeDate: Fri Jul 10 11:47:19 2026
(Merged from https://github.com/openssl/openssl/pull/31677)


  Commit: b72ee09a45109faec2e46865d9ef648525ccec78
      https://github.com/openssl/openssl/commit/b72ee09a45109faec2e46865d9ef648525ccec78
  Author: Bob Beck <[email protected]>
  Date:   2026-07-10 (Fri, 10 Jul 2026)

  Changed paths:
    M include/crypto/md32_common.inc

  Log Message:
  -----------
  Drop missed unneded GNUC>=2 check

Spotted by idrassi on review. thanks!

Reviewed-by: Milan Broz <[email protected]>
Reviewed-by: Tomas Mraz <[email protected]>
Reviewed-by: Neil Horman <[email protected]>
MergeDate: Fri Jul 10 11:47:21 2026
(Merged from https://github.com/openssl/openssl/pull/31677)


Compare: https://github.com/openssl/openssl/compare/9d59af025a02...b72ee09a4510

To unsubscribe from these emails, change your notification settings at https://github.com/openssl/openssl/settings/notifications

-- 
You received this message because you are subscribed to the Google Groups "openssl-commits" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion visit https://groups.google.com/a/openssl.org/d/msgid/openssl-commits/openssl/openssl/push/refs/heads/master/9d59af-b72ee0%40github.com.