+2001-06-04 Ezra Peisach <epeisach@mit.edu>
+
+ * accept_sec_context.c (krb5_gss_accept_sec_context): Cleanup
+ assignments in conditionals.
+ * k5seal.c (make_seal_token_v1): Likewise.
+
2001-05-14 Ezra Peisach <epeisach@mit.edu>
* wrap_size_limit.c (krb5_gss_wrap_size_limit): Get rid of unused
/* gss krb5 v1 */
/* stash this now, for later. */
- if (code = krb5_c_checksum_length(context, CKSUMTYPE_RSA_MD5,
- &md5len)) {
+ code = krb5_c_checksum_length(context, CKSUMTYPE_RSA_MD5, &md5len);
+ if (code) {
major_status = GSS_S_FAILURE;
goto fail;
}
/* store the delegated credential */
- if (code = rd_and_store_for_creds(context, &option,
- (delegated_cred_handle) ?
- &deleg_cred : NULL)) {
+ code = rd_and_store_for_creds(context, &option,
+ (delegated_cred_handle) ?
+ &deleg_cred : NULL);
+ if (code) {
major_status = GSS_S_FAILURE;
goto fail;
}
abort ();
}
- if (code = krb5_c_checksum_length(context, md5cksum.checksum_type, &sumlen))
+ code = krb5_c_checksum_length(context, md5cksum.checksum_type, &sumlen);
+ if (code)
return(code);
md5cksum.length = sumlen;