diff options
author | Werner Koch <wk@gnupg.org> | 2020-06-03 11:21:10 +0200 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2020-06-03 11:21:10 +0200 |
commit | 7558128e16d7fc20b9c40bf7e150ca08bbb4467f (patch) | |
tree | f05c57aa46e9b71f7873fec5ac10969fb95bbd90 /sm | |
parent | scd: Fix condition for C5 data object for newer Yubikey. (diff) | |
download | gnupg2-7558128e16d7fc20b9c40bf7e150ca08bbb4467f.tar.xz gnupg2-7558128e16d7fc20b9c40bf7e150ca08bbb4467f.zip |
sm: Fix recently introduced regression in CSR creation.
* sm/certreqgen.c (create_request): Also set SIGKEYLEN.
--
Fixes-commit: 44676819f2873705b78849e7b2fd22214b691642
Signed-off-by: Werner Koch <wk@gnupg.org>
Diffstat (limited to 'sm')
-rw-r--r-- | sm/certreqgen.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sm/certreqgen.c b/sm/certreqgen.c index 1dd456452..27a6a3458 100644 --- a/sm/certreqgen.c +++ b/sm/certreqgen.c @@ -1419,7 +1419,11 @@ create_request (ctrl_t ctrl, } } else - sigkey = public; + { + sigkey = public; + sigkeylen = publiclen; + sigkeypkalgo = publicpkalgo; + } do { |