mirror of
https://github.com/QuasarApp/qca.git
synced 2025-04-27 03:54:31 +00:00
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:
parent
43c1246846
commit
8d7b21b102
@ -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 :
|
||||
|
Loading…
x
Reference in New Issue
Block a user