Coverity CID 3493: Comment out dead code.
This commit is contained in:
parent
d159dc82e4
commit
555b8edb2d
|
@ -146,6 +146,7 @@ static u8 * eap_tls_process(struct eap_sm *sm, void *priv,
|
|||
EAP_TYPE_TLS, 0);
|
||||
}
|
||||
|
||||
#ifdef notdef
|
||||
if (res == -1) {
|
||||
/* The TLS handshake failed. So better forget the old PIN.
|
||||
* It may be wrong, we can't be sure but trying the wrong one
|
||||
|
@ -154,6 +155,7 @@ static u8 * eap_tls_process(struct eap_sm *sm, void *priv,
|
|||
free(config->pin);
|
||||
config->pin = NULL;
|
||||
}
|
||||
#endif
|
||||
|
||||
return resp;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue