mirror of
https://github.com/chris2511/xca.git
synced 2026-09-14 11:06:19 +05:00
Fix Hash algorithm when converting certificate to PKCS#10
Use the one from the certificate instead of SHA1
This commit is contained in:
parent
cefb140601
commit
d1a34b8329
@ -1106,7 +1106,7 @@ void db_x509::toRequest(QModelIndex idx)
|
||||
check_oom(req);
|
||||
req->setIntName(cert->getIntName());
|
||||
req->createReq(cert->getRefKey(), cert->getSubject(),
|
||||
cert->getRefKey()->getDefaultMD(), cert->getV3ext());
|
||||
cert->getDigest(), cert->getV3ext());
|
||||
createSuccess(mainwin->reqs->insert(req));
|
||||
}
|
||||
catch (errorEx &err) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user