Add -Wshadow and deal with the warnings.
This commit is contained in:
@@ -1497,7 +1497,7 @@ kcm_op_do_ntlm(krb5_context context,
|
||||
*/
|
||||
|
||||
if (1 || type2.targetinfo.length == 0) {
|
||||
struct ntlm_buf sessionkey;
|
||||
struct ntlm_buf tmpsesskey;
|
||||
|
||||
if (type2.flags & NTLM_NEG_NTLM2_SESSION) {
|
||||
unsigned char nonce[8];
|
||||
@@ -1524,7 +1524,7 @@ kcm_op_do_ntlm(krb5_context context,
|
||||
|
||||
ret = heim_ntlm_build_ntlm1_master(c->nthash.data,
|
||||
c->nthash.length,
|
||||
&sessionkey,
|
||||
&tmpsesskey,
|
||||
&type3.sessionkey);
|
||||
if (ret) {
|
||||
if (type3.lm.data)
|
||||
@@ -1534,7 +1534,7 @@ kcm_op_do_ntlm(krb5_context context,
|
||||
goto error;
|
||||
}
|
||||
|
||||
free(sessionkey.data);
|
||||
free(tmpsesskey.data);
|
||||
if (ret) {
|
||||
if (type3.lm.data)
|
||||
free(type3.lm.data);
|
||||
|
Reference in New Issue
Block a user