sm2: Allow setting 0 length SM2 dist ID param
authorTomas Mraz <tomas@openssl.org>
Wed, 6 Apr 2022 08:03:22 +0000 (10:03 +0200)
committerTomas Mraz <tomas@openssl.org>
Mon, 11 Apr 2022 09:45:04 +0000 (11:45 +0200)
commit2904d0a2ae0ec6ce23d5cec66ce8c7bdb005d4e5
treebfc2b98fb386c36cd81acddb41c5fa87aded310e
parent5f1424c6bdca8ddb9d5d88a78a1d738be19c4ea8
sm2: Allow setting 0 length SM2 dist ID param

Fixes #18022

Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/18052)
providers/implementations/signature/sm2_sig.c