Fixed return values of several functions (e.g. return FALSE for pointer types).

This commit is contained in:
Tobias Brunner
2012-05-31 17:39:04 +02:00
parent 060b508e0e
commit 79d5c4f06b
8 changed files with 10 additions and 10 deletions
+1 -1
View File
@@ -1492,7 +1492,7 @@ end:
if (hasher == NULL)
{
DBG1(DBG_ASN, " unable to create hash of certificate, SHA1 not supported");
return NULL;
return FALSE;
}
hasher->allocate_hash(hasher, this->encoding, &this->encoding_hash);
hasher->destroy(hasher);