~ubuntu-branches/ubuntu/jaunty/heimdal/jaunty

« back to all changes in this revision

Viewing changes to lib/krb5/test_renew.c

  • Committer: Bazaar Package Importer
  • Author(s): Nick Ellery
  • Date: 2008-11-17 22:25:58 UTC
  • mfrom: (1.1.5 upstream) (2.1.2 lenny)
  • Revision ID: james.westby@ubuntu.com-20081117222558-jd1aj1jth6ycdb0x
Tags: 1.2.dfsg.1-2.1ubuntu1
* Merge from debian unstable, remaining changes (LP: #299345):
  - Change libdb4.2-dev to libdb4.6-dev in build-deps
  - Add netbase to heimdal-kdc depends.
  - Set CPPFLAGS=-DLDAP_DEPRECATED to fix build with OpenLDAP 2.4 on
    64-bit architectures.
* Remove dependency on update-inetd to heimdal-servers and heimdal-kdc,
  as packages should rely on the inet-superserver to provide the
  update-inetd command.
* Drop the addition of -1 to the version of comerr-dev in build depends.

Show diffs side-by-side

added added

removed removed

Lines of Context:
66
66
    const char *in_tkt_service = NULL;
67
67
    krb5_ccache id;
68
68
    krb5_error_code ret;
69
 
    krb5_creds out;;
 
69
    krb5_creds out;
70
70
    int optidx = 0;
71
71
 
72
72
    setprogname(argv[0]);
109
109
                                 in_tkt_service);
110
110
 
111
111
    if(ret)
112
 
        krb5_err(context, 1, ret, "krb5_get_kdc_cred");
 
112
        krb5_err(context, 1, ret, "krb5_get_renewed_creds");
113
113
 
114
114
    if (krb5_principal_compare(context, out.client, client) != TRUE)
115
115
        krb5_errx(context, 1, "return principal is not as expected");