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
@@ -173,14 +173,6 @@ static enumerator_t* create_shared_enumerator(private_med_db_creds_t *this,
}
return NULL;
}
/**
* returns null
*/
static void *return_null()
{
return NULL;
}
/**
* Implementation of backend_t.destroy.
-8
View File
@@ -331,14 +331,6 @@ static enumerator_t* create_shared_enumerator(private_sql_cred_t *this,
return &e->public;
}
/**
* return null
*/
static void *return_null()
{
return NULL;
}
/**
* Implementation of sql_cred_t.destroy.
*/
-8
View File
@@ -281,14 +281,6 @@ static void ca_section_destroy(ca_section_t *this)
free(this);
}
/**
* another return NULL
*/
static void* return_null()
{
return NULL;
}
/**
* data to pass to create_inner_cdp
*/