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

« back to all changes in this revision

Viewing changes to lib/krb5/context.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/context.c --- Implementation of Kerberos 5 GSS Context 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
 *
213
213
      return GSS_S_NO_CRED;
214
214
    }
215
215
 
 
216
  if (target_name == NULL)
 
217
    {
 
218
      return GSS_S_BAD_NAME;
 
219
    }
 
220
 
216
221
  if (k5 == NULL)
217
222
    {
218
223
      k5 = ctx->krb5 = calloc (sizeof (*k5), 1);