+2001-07-25 Ezra Peisach <epeisach@mit.edu>
+
+ * import_sec_context.c (krb5_gss_import_sec_context): Get rid of
+ variable set but never used.
+ * ser_sctx.c (kg_queue_internalize): Ditto
+
2001-07-04 Ezra Peisach <epeisach@mit.edu>
* ser_sctx.c: Declare kg_oid_size and kg_queue_size static.
{
krb5_context context;
krb5_error_code kret = 0;
- OM_uint32 retval;
size_t blen;
krb5_gss_ctx_id_t ctx;
krb5_octet *ibp;
/* Assume a tragic failure */
ctx = (krb5_gss_ctx_id_t) NULL;
- retval = GSS_S_FAILURE;
*minor_status = 0;
/* Internalize the context */
krb5_octet **buffer;
size_t *lenremain;
{
- krb5_error_code kret;
krb5_int32 ibuf;
krb5_octet *bp;
size_t remain;
remain = *lenremain;
/* Read in and check our magic number */
- if ((kret = krb5_ser_unpack_int32(&ibuf, &bp, &remain)))
+ if (krb5_ser_unpack_int32(&ibuf, &bp, &remain))
return (EINVAL);
if (ibuf != KV5M_GSS_QUEUE)
g_queue_internalize(argp, &bp, &remain);
/* Read in and check our trailing magic number */
- if ((kret = krb5_ser_unpack_int32(&ibuf, &bp, &remain)))
+ if (krb5_ser_unpack_int32(&ibuf, &bp, &remain))
return (EINVAL);
if (ibuf != KV5M_GSS_QUEUE)