if (config.backends_dir == NULL) {
soname = malloc(strlen(config.db_backend)
- + strlen("/libkeydb_")
+ + strlen("./libkeydb_")
+ strlen(".so")
+ 1);
- sprintf(soname, "libkeydb_%s.so", config.db_backend);
+ sprintf(soname, "./libkeydb_%s.so", config.db_backend);
} else {
soname = malloc(strlen(config.db_backend)
+ strlen("/libkeydb_")
sigs = keysigs(sigs, uids->sigs);
}
if (revoked != NULL) {
- *revoked = (publickey->revocations != NULL);
+ *revoked = publickey->revoked;
}
free_publickey(publickey);
}
*/
if (oldkey != NULL) {
merge_keys(oldkey, curkey);
- if (curkey->revocations == NULL &&
+ if (curkey->sigs == NULL &&
curkey->uids == NULL &&
curkey->subkeys == NULL) {
if (prev == NULL) {