fixed CRL check return value on revoked certificates

fixed possible refcounting bugs
generic return_null() implementation
This commit is contained in:
Martin Willi
2008-03-19 09:44:47 +00:00
parent a40708e511
commit 081ae2eb61
6 changed files with 32 additions and 53 deletions
+8
View File
@@ -63,6 +63,14 @@ void memxor(u_int8_t dest[], u_int8_t src[], size_t n)
}
}
/**
* return null
*/
void *return_null()
{
return NULL;
}
/**
* We use a single mutex for all refcount variables. This
* is not optimal for performance, but the critical section