Round #2 of scan-build warnings cleanup
This commit is contained in:
@@ -254,15 +254,11 @@ retry:
|
||||
krb5_crypto_destroy (context, crypto);
|
||||
ret = krb5_crypto_init(context, key,
|
||||
ETYPE_DES3_CBC_SHA1, &crypto);
|
||||
if (ret){
|
||||
*minor_status = ret;
|
||||
return GSS_S_FAILURE;
|
||||
}
|
||||
|
||||
ret = krb5_verify_checksum (context, crypto,
|
||||
KRB5_KU_USAGE_SIGN,
|
||||
tmp, message_buffer->length + 8,
|
||||
&csum);
|
||||
if (ret == 0)
|
||||
ret = krb5_verify_checksum(context, crypto,
|
||||
KRB5_KU_USAGE_SIGN,
|
||||
tmp, message_buffer->length + 8,
|
||||
&csum);
|
||||
free (tmp);
|
||||
if (ret) {
|
||||
krb5_crypto_destroy (context, crypto);
|
||||
|
Reference in New Issue
Block a user