summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Lidén Borell <samuel@slbdata.se>2010-03-23 21:53:22 +0100
committerSamuel Lidén Borell <samuel@slbdata.se>2010-03-23 21:53:22 +0100
commita46d06fe90c5963e9c769e5bbfa6349721e95cc7 (patch)
treeece4be644afadf72de8a70ca6bb1cf5597eae502
parent2cbea6c8d4cd94b153fccc4e3b875dd41d585894 (diff)
downloadfribid-a46d06fe90c5963e9c769e5bbfa6349721e95cc7.tar.gz
fribid-a46d06fe90c5963e9c769e5bbfa6349721e95cc7.tar.bz2
fribid-a46d06fe90c5963e9c769e5bbfa6349721e95cc7.zip
Allow signing without a subject filter
-rw-r--r--plugin/plugin.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugin/plugin.c b/plugin/plugin.c
index c8d8930..322f6be 100644
--- a/plugin/plugin.c
+++ b/plugin/plugin.c
@@ -163,8 +163,7 @@ int sign_performAction(Plugin *plugin, const char *action) {
return ret;
}
} else if ((plugin->type == PT_Signer) && !strcmp(action, "Sign")) {
- if (!hasSignParams(plugin) || !plugin->info.sign.subjectFilter ||
- !plugin->info.sign.message) {
+ if (!hasSignParams(plugin) || !plugin->info.sign.message) {
return BIDERR_MissingParameter;
} else {
if (!lockURL(plugin->url)) return BIDERR_InternalError;