check for sharedSecretID length greater than 0 before using
This commit is contained in:
parent
8ac8437fe7
commit
85aa2f3a40
@ -3096,7 +3096,7 @@ miCASAGetCredential
|
||||
}
|
||||
|
||||
// 4. if still no secret, did caller pass in a suggested sharedSecretID?
|
||||
if(rcode && sharedSecretID)
|
||||
if(rcode && sharedSecretID && (sharedSecretID->len > 0))
|
||||
{
|
||||
// let's look for it.
|
||||
secID.type = SSCS_CREDENTIAL_TYPE_F;
|
||||
|
Loading…
Reference in New Issue
Block a user