[BACK]Return to gss-genr.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / ssh

Diff for /src/usr.bin/ssh/gss-genr.c between version 1.6 and 1.7

version 1.6, 2005/10/13 22:24:31 version 1.7, 2006/03/20 04:07:49
Line 72 
Line 72 
 void  void
 ssh_gssapi_error(Gssctxt *ctxt)  ssh_gssapi_error(Gssctxt *ctxt)
 {  {
         debug("%s", ssh_gssapi_last_error(ctxt, NULL, NULL));          char *s;
   
           s = ssh_gssapi_last_error(ctxt, NULL, NULL);
           debug("%s", s);
           xfree(s);
 }  }
   
 char *  char *
Line 231 
Line 235 
         gss_create_empty_oid_set(&status, &oidset);          gss_create_empty_oid_set(&status, &oidset);
         gss_add_oid_set_member(&status, ctx->oid, &oidset);          gss_add_oid_set_member(&status, ctx->oid, &oidset);
   
         if (gethostname(lname, MAXHOSTNAMELEN))          if (gethostname(lname, MAXHOSTNAMELEN)) {
                   gss_release_oid_set(&status, &oidset);
                 return (-1);                  return (-1);
           }
   
         if (GSS_ERROR(ssh_gssapi_import_name(ctx, lname)))          if (GSS_ERROR(ssh_gssapi_import_name(ctx, lname))) {
                   gss_release_oid_set(&status, &oidset);
                 return (ctx->major);                  return (ctx->major);
           }
   
         if ((ctx->major = gss_acquire_cred(&ctx->minor,          if ((ctx->major = gss_acquire_cred(&ctx->minor,
             ctx->name, 0, oidset, GSS_C_ACCEPT, &ctx->creds, NULL, NULL)))              ctx->name, 0, oidset, GSS_C_ACCEPT, &ctx->creds, NULL, NULL)))

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7