Cache only support fingerprint types
This commit is contained in:
1 parent
8aaf36c6e3
commit
3e654a13ee
1 file changed
+4
-2
@@ -245,8 +245,10 @@ METHOD(public_key_t, get_fingerprint, bool,
|
||||
}
|
||||
success = bliss_public_key_fingerprint(this->set->oid, this->A,
|
||||
this->set, type, fp);
|
||||
lib->encoding->cache(lib->encoding, type, this, *fp);
|
||||
|
||||
if (success)
|
||||
{
|
||||
lib->encoding->cache(lib->encoding, type, this, *fp);
|
||||
}
|
||||
return success;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user