Branch: refs/heads/openssl-3.0
  Home:   https://github.com/openssl/openssl
  Commit: 2a5010e31c6b9c5b4b570e038a0e3baec8268931
      
https://github.com/openssl/openssl/commit/2a5010e31c6b9c5b4b570e038a0e3baec8268931
  Author: Neil Horman <nhor...@openssl.org>
  Date:   2024-05-02 (Thu, 02 May 2024)

  Changed paths:
    M crypto/sm2/sm2_sign.c
    M test/sm2_internal_test.c

  Log Message:
  -----------
  Add check for public key presence on sm2 signing

SM2 requires that the public EC_POINT be present in a key when signing.
If its not there we crash on a NULL pointer.  Add a check to ensure that
its present, and raise an error if its not

Reviewed-by: Paul Yang <kaishen...@antfin.com>
Reviewed-by: Tomas Mraz <to...@openssl.org>
Reviewed-by: Matt Caswell <m...@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/24078)

(cherry picked from commit 1316aa05aae57cf47d8c8bfca38aaa042db1518f)


  Commit: 8beb0e3cc976b42ae12284aa1fd3b3c8eeb2030c
      
https://github.com/openssl/openssl/commit/8beb0e3cc976b42ae12284aa1fd3b3c8eeb2030c
  Author: Neil Horman <nhor...@openssl.org>
  Date:   2024-05-02 (Thu, 02 May 2024)

  Changed paths:
    M doc/man7/EVP_PKEY-SM2.pod

  Log Message:
  -----------
  Add docs noting requirements for SM2 signing

Reviewed-by: Paul Yang <kaishen...@antfin.com>
Reviewed-by: Tomas Mraz <to...@openssl.org>
Reviewed-by: Matt Caswell <m...@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/24078)

(cherry picked from commit 54673b93594a71c9f8052a1df1a7c6bf07c49f4d)


Compare: https://github.com/openssl/openssl/compare/8d0d05e9cb13...8beb0e3cc976

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

Reply via email to