TSG-9703 certstore适配Rocky Linux8.5
This commit is contained in:
@@ -1032,7 +1032,9 @@ void keyring_table_free_cb(int __attribute__((__unused__))table_id, MAAT_PLUGIN_
|
||||
long __attribute__((__unused__))argl, void __attribute__((__unused__))*argp)
|
||||
{
|
||||
if (*ad == NULL)
|
||||
return;
|
||||
{
|
||||
return;
|
||||
}
|
||||
struct pxy_obj_keyring* pxy_obj=(struct pxy_obj_keyring*)(*ad);
|
||||
atomic64_dec(&pxy_obj->ref_cnt);
|
||||
if (atomic64_read(&pxy_obj->ref_cnt) == 0)
|
||||
@@ -1313,9 +1315,12 @@ web_json_record_array_add_string(char **chain)
|
||||
|
||||
sample_array = json_object_new_array();
|
||||
if (sample_array == NULL)
|
||||
goto finish;
|
||||
{
|
||||
goto finish;
|
||||
}
|
||||
|
||||
for(i = 0; chain[i] != '\0'; i++){
|
||||
for(i = 0; strlen(chain[i]) > 0; i++)
|
||||
{
|
||||
json_object_array_add(sample_array, json_object_new_string(chain[i]));
|
||||
}
|
||||
finish:
|
||||
@@ -2048,8 +2053,7 @@ redis_link_detection(uint32_t __attribute__((__unused__)) uid,
|
||||
}
|
||||
}
|
||||
|
||||
static int
|
||||
keyring_server_init()
|
||||
static int keyring_server_init()
|
||||
{
|
||||
int xret = -1;
|
||||
unsigned int tid = 0;
|
||||
|
||||
Reference in New Issue
Block a user