diff options
author | Paul Yang <kaishen.yy@antfin.com> | 2019-09-21 00:32:57 +0800 |
---|---|---|
committer | Paul Yang <kaishen.yy@antfin.com> | 2019-09-29 09:54:19 +0800 |
commit | dbb72124cdf1ad0dc223cfd570219e9af043ce7f (patch) | |
tree | 5a4058e351a6420919b38952f1a0088fe1a44a05 /doc | |
parent | e7fb44e7c3f7a37ff83a6b69ba51a738e549bf5c (diff) | |
download | openssl-dbb72124cdf1ad0dc223cfd570219e9af043ce7f.tar.gz |
Fix a double free issue when signing SM2 cert
If the SM2 ID value has not been passed correctly when signing an SM2
certificate/certificate request, a double free occurs. For instance:
openssl req -x509 ... -sm2-id 1234567812345678
The '-sm2-id' should not be used in this scenario, while the '-sigopt' is
the correct one to use. Documentation has also been updated to make the
options more clear.
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/9958)
Diffstat (limited to 'doc')
-rw-r--r-- | doc/man1/openssl-req.pod | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/man1/openssl-req.pod b/doc/man1/openssl-req.pod index 4300504f87..02635b56ea 100644 --- a/doc/man1/openssl-req.pod +++ b/doc/man1/openssl-req.pod @@ -342,8 +342,8 @@ for key generation operations. =item B<-sm2-id> -Specify the ID string to use when verifying an SM2 certificate. The ID string is -required by the SM2 signature algorithm for signing and verification. +Specify the ID string to use when verifying an SM2 certificate request. The ID +string is required by the SM2 signature algorithm for signing and verification. =item B<-sm2-hex-id> |