[crypto,tls] remove dead code
unreachable condition in is_accepted_fingerprint removed
This commit is contained in:
parent
acf80baeb7
commit
0f8a6392d1
@ -1406,15 +1406,11 @@ static BOOL is_accepted_fingerprint(const rdpCertificate* cert,
|
||||
{
|
||||
char* subcontext = NULL;
|
||||
const char* h = strtok_s(cur, ":", &subcontext);
|
||||
const char* fp = NULL;
|
||||
|
||||
if (!h)
|
||||
goto next;
|
||||
|
||||
fp = h + strlen(h) + 1;
|
||||
if (!fp)
|
||||
goto next;
|
||||
|
||||
const char* fp = h + strlen(h) + 1;
|
||||
if (compare_fingerprint_all(fp, h, cert))
|
||||
{
|
||||
rc = TRUE;
|
||||
|
Loading…
Reference in New Issue
Block a user