Only apply authorityKeyIdentifier if the button is enabled

This commit is contained in:
Christian Hohnstaedt 2010-08-06 07:16:18 +02:00
parent ce12832332
commit d1fad54743

View File

@ -51,7 +51,7 @@ x509v3ext NewX509::getSubKeyIdent()
x509v3ext NewX509::getAuthKeyIdent()
{
x509v3ext ext;
if (!authKey->isChecked())
if (!authKey->isChecked() || !authKey->isEnabled())
return ext;
QString x = "keyid,issuer:always";