krb5_keyblock *key;
krb5_cksumtype cksumtype;
- if(ctx->big_endian != 0)
- goto defective;
-
+ if (ctx->big_endian != 0)
+ goto defective;
if (qop_state)
*qop_state = GSS_C_QOP_DEFAULT;
int conf_flag = 0;
if (ctx->big_endian != 0)
- return GSS_S_DEFECTIVE_TOKEN;
-
+ return GSS_S_DEFECTIVE_TOKEN;
if (qop_state != NULL)
*qop_state = GSS_C_QOP_DEFAULT;
*cksumtype = 0;
ctx->proto = 0;
+
if (ctx->enc == NULL) {
- ctx->signalg = -1;
- ctx->sealalg = -1;
+ ctx->signalg = -1;
+ ctx->sealalg = -1;
}
code = krb5int_accessor(&kaccess, KRB5INT_ACCESS_VERSION);
return code;
code = (*kaccess.krb5int_c_mandatory_cksumtype)(context, subkey->enctype,
- cksumtype);
+ cksumtype);
if (code != 0)
- return code;
+ return code;
switch (subkey->enctype) {
case ENCTYPE_DES_CBC_MD5:
break;
default:
ctx->proto = 1;
-
+ break;
}
return 0;