Changeset View
Changeset View
Standalone View
Standalone View
b/g10/keyedit.c
Context not available. | |||||
* why to sign keys using a subkey. Implementation of USAGE_CERT | * why to sign keys using a subkey. Implementation of USAGE_CERT | ||||
* is just a hack in getkey.c and does not mean that a subkey | * is just a hack in getkey.c and does not mean that a subkey | ||||
* marked as certification capable will be used. */ | * marked as certification capable will be used. */ | ||||
rc = build_sk_list (locusr, &sk_list, PUBKEY_USAGE_CERT); | rc = build_sk_list (ctrl, locusr, &sk_list, PUBKEY_USAGE_CERT); | ||||
if (rc) | if (rc) | ||||
goto leave; | goto leave; | ||||
Context not available. | |||||
err = gpg_error_from_syserror (); | err = gpg_error_from_syserror (); | ||||
goto leave; | goto leave; | ||||
} | } | ||||
err = getkey_byname (NULL, pk, username, 1, &keyblock); | err = getkey_byname (ctrl, NULL, pk, username, 1, &keyblock); | ||||
if (err) | if (err) | ||||
goto leave; | goto leave; | ||||
Context not available. |