~ubuntu-branches/ubuntu/vivid/gss/vivid-proposed

« back to all changes in this revision

Viewing changes to lib/krb5/cred.c

  • Committer: Package Import Robot
  • Author(s): Simon Josefsson
  • Date: 2014-10-09 15:51:38 UTC
  • mfrom: (1.2.9)
  • Revision ID: package-import@ubuntu.com-20141009155138-50b2mr1qsqcln38w
Tags: 1.0.3-1
* New upstream version.
  - Drop unnecessary Debian patches.
* Update standards version to 3.9.6.
* Improve copyright file.
* Use DEP3 patches.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* krb5/cred.c --- Kerberos 5 GSS-API credential management functions.
2
 
 * Copyright (C) 2003-2011 Simon Josefsson
 
2
 * Copyright (C) 2003-2014 Simon Josefsson
3
3
 *
4
4
 * This file is part of the Generic Security Service (GSS).
5
5
 *
51
51
  if (GSS_ERROR (maj_stat))
52
52
    return maj_stat;
53
53
 
54
 
  if (desired_name == GSS_C_NO_NAME)
 
54
  if (k5->peerptr == GSS_C_NO_NAME)
55
55
    {
56
56
      maj_stat = gss_release_name (minor_status, &name);
57
57
      if (GSS_ERROR (maj_stat))
58
58
        return maj_stat;
 
59
      return GSS_S_BAD_NAME;
59
60
    }
60
61
 
61
62
  if (shishi_init_server (&k5->sh) != SHISHI_OK)