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