1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-22 10:19:57 +01:00

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>
This commit is contained in:
Werner Koch 2020-06-03 11:21:10 +02:00
parent f3df8dbb69
commit 7558128e16
No known key found for this signature in database
GPG Key ID: E3FDFF218E45B72B

View File

@ -1419,7 +1419,11 @@ create_request (ctrl_t ctrl,
}
}
else
sigkey = public;
{
sigkey = public;
sigkeylen = publiclen;
sigkeypkalgo = publicpkalgo;
}
do
{