[openssl/openssl] 48d2ec: Fix build on OPENSSL_SYS_TANDEM and older POSIXes

Tomas Mraz noreply at reply.github.openssl.org
Fri May 13 06:35:17 UTC 2022


  Branch: refs/heads/openssl-3.0
  Home:   https://github.openssl.org/openssl/openssl
  Commit: 48d2eca1c5abe085425e63a09b63e82408c985ce
      https://github.openssl.org/openssl/openssl/commit/48d2eca1c5abe085425e63a09b63e82408c985ce
  Author: Tomas Mraz <tomas at openssl.org>
  Date:   2022-05-13 (Fri, 13 May 2022)

  Changed paths:
    M crypto/ctype.c
    M e_os.h
    M providers/fips/fipsprov.c
    M test/localetest.c

  Log Message:
  -----------
  Fix build on OPENSSL_SYS_TANDEM and older POSIXes

It also allows for passing -DOPENSSL_NO_LOCALE as a workaround
to ./Configure command.

Fixes #18233

Reviewed-by: Dmitry Belyavskiy <beldmit at gmail.com>
Reviewed-by: Paul Dale <pauli at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/18293)


  Commit: b381519ba00628266432a2659425abda6be5b48d
      https://github.openssl.org/openssl/openssl/commit/b381519ba00628266432a2659425abda6be5b48d
  Author: Tomas Mraz <tomas at openssl.org>
  Date:   2022-05-13 (Fri, 13 May 2022)

  Changed paths:
    M crypto/ctype.c
    M test/localetest.c

  Log Message:
  -----------
  Include the e_os.h before string.h

Fixes #18244

Reviewed-by: Dmitry Belyavskiy <beldmit at gmail.com>
Reviewed-by: Paul Dale <pauli at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/18293)


  Commit: acbd162f8859c8172f2b61a678e36993121a44da
      https://github.openssl.org/openssl/openssl/commit/acbd162f8859c8172f2b61a678e36993121a44da
  Author: Tomas Mraz <tomas at openssl.org>
  Date:   2022-05-13 (Fri, 13 May 2022)

  Changed paths:
    M crypto/evp/pmeth_lib.c

  Log Message:
  -----------
  int_ctx_new(): Revert extra ossl_init_casecmp call

Reviewed-by: Dmitry Belyavskiy <beldmit at gmail.com>
Reviewed-by: Paul Dale <pauli at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/18293)


  Commit: 250170d3b03d8e1f56e66c901abb096d8cc80cf4
      https://github.openssl.org/openssl/openssl/commit/250170d3b03d8e1f56e66c901abb096d8cc80cf4
  Author: Tomas Mraz <tomas at openssl.org>
  Date:   2022-05-13 (Fri, 13 May 2022)

  Changed paths:
    M crypto/ctype.c
    M crypto/o_str.c
    M include/crypto/ctype.h
    M include/internal/cryptlib.h

  Log Message:
  -----------
  Move OPENSSL_strcasecmp() and related to o_str.c

Otherwise the implementation is unnecessarily duplicated in legacy.so.

Reviewed-by: Dmitry Belyavskiy <beldmit at gmail.com>
Reviewed-by: Paul Dale <pauli at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/18293)


  Commit: f3da979ee199bff139a643a16636c8c8e36a3f79
      https://github.openssl.org/openssl/openssl/commit/f3da979ee199bff139a643a16636c8c8e36a3f79
  Author: Tomas Mraz <tomas at openssl.org>
  Date:   2022-05-13 (Fri, 13 May 2022)

  Changed paths:
    M crypto/o_str.c
    M include/internal/core.h
    M providers/fips/fipsprov.c

  Log Message:
  -----------
  Avoid code duplication for locale initialization

Reviewed-by: Dmitry Belyavskiy <beldmit at gmail.com>
Reviewed-by: Paul Dale <pauli at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/18293)


  Commit: 84b9fe9293e5e37525e86714d6c2568539babbfb
      https://github.openssl.org/openssl/openssl/commit/84b9fe9293e5e37525e86714d6c2568539babbfb
  Author: Tomas Mraz <tomas at openssl.org>
  Date:   2022-05-13 (Fri, 13 May 2022)

  Changed paths:
    M crypto/o_str.c
    M e_os.h

  Log Message:
  -----------
  Add fallback in case of locale initialization failure

Reviewed-by: Dmitry Belyavskiy <beldmit at gmail.com>
Reviewed-by: Paul Dale <pauli at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/18293)


  Commit: 932534e7ef11ad43100ea6c81362d1d86e156167
      https://github.openssl.org/openssl/openssl/commit/932534e7ef11ad43100ea6c81362d1d86e156167
  Author: Tomas Mraz <tomas at openssl.org>
  Date:   2022-05-13 (Fri, 13 May 2022)

  Changed paths:
    M crypto/evp/evp_lib.c
    M crypto/init.c
    M crypto/o_str.c
    M include/internal/cryptlib.h

  Log Message:
  -----------
  Always try locale initialization from OPENSSL_strcasecmp

Fixes #18172

Reviewed-by: Dmitry Belyavskiy <beldmit at gmail.com>
Reviewed-by: Paul Dale <pauli at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/18293)


Compare: https://github.openssl.org/openssl/openssl/compare/86290ec1f7ba...932534e7ef11


More information about the openssl-commits mailing list