Hmm, turns out that no constraints doesn't mean

no authorised usage, it means any authorised usage.

Maybe no common, but probably very important for
interoperability.

svn path=/trunk/kdesupport/qca/; revision=410238
This commit is contained in:
Brad Hards 2005-05-07 07:32:18 +00:00
parent 43c1246846
commit 8d7b21b102

View File

@ -3253,6 +3253,11 @@ public:
static bool usage_check(const MyCertContext &cc, QCA::UsageMode u)
{
if (cc._props.constraints.isEmpty() ) {
// then any usage is OK
return true;
}
switch (u)
{
case QCA::UsageAny :