Do not check pointer, but length of a chunk
This commit is contained in:
@@ -528,7 +528,7 @@ static void *pem_load(credential_type_t type, int subtype, va_list args)
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (pem.ptr)
|
if (pem.len)
|
||||||
{
|
{
|
||||||
return load_from_blob(pem, type, subtype, cb, cb_data, flags);
|
return load_from_blob(pem, type, subtype, cb, cb_data, flags);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user