[openssl/openssl] 615525: int_ctx_new(): Revert extra OPENSSL_init_crypto() ...

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


  Branch: refs/heads/master
  Home:   https://github.openssl.org/openssl/openssl
  Commit: 615525bd4d6bbc56601fbdc82e7ac20344f48872
      https://github.openssl.org/openssl/openssl/commit/615525bd4d6bbc56601fbdc82e7ac20344f48872
  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 OPENSSL_init_crypto() 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/18282)


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

  Changed paths:
    M crypto/ctype.c
    M include/internal/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/18282)


  Commit: cf91a2b3c196ee4d7be93ab9f8fc8e097128ad68
      https://github.openssl.org/openssl/openssl/commit/cf91a2b3c196ee4d7be93ab9f8fc8e097128ad68
  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/18282)


  Commit: 71c17c36d913a82742c7d4ecd91ad047906cdae0
      https://github.openssl.org/openssl/openssl/commit/71c17c36d913a82742c7d4ecd91ad047906cdae0
  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/18282)


  Commit: 26ccb0e4e0b100423184636457cd6aab4cc779ab
      https://github.openssl.org/openssl/openssl/commit/26ccb0e4e0b100423184636457cd6aab4cc779ab
  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/18282)


  Commit: 92d050167713f9a094c149c38435b07512c68936
      https://github.openssl.org/openssl/openssl/commit/92d050167713f9a094c149c38435b07512c68936
  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/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/18282)


  Commit: f505be999f00232702aeb6918e4a1ffa0b9b588b
      https://github.openssl.org/openssl/openssl/commit/f505be999f00232702aeb6918e4a1ffa0b9b588b
  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/18282)


Compare: https://github.openssl.org/openssl/openssl/compare/4b1b62972597...f505be999f00


More information about the openssl-commits mailing list