Changeset 1626 for branches/fc13-dev/server
- Timestamp:
- Sep 8, 2010, 9:34:53 PM (14 years ago)
- Location:
- branches/fc13-dev/server/common/patches
- Files:
-
- 1 deleted
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/fc13-dev/server/common/patches/openssh-5.0p1-multihomed.patch
r760 r1626 6 6 --- openssh-5.0p1.orig/gss-serv.c 2008-05-20 00:00:00.000000000 -0400 7 7 +++ openssh-5.0p1/gss-serv.c 2008-05-20 00:00:00.000000000 -0400 8 @@ - 77,22 +77,11@@8 @@ -83,23 +83,12 @@ 9 9 ssh_gssapi_acquire_cred(Gssctxt *ctx) 10 10 { … … 13 13 gss_OID_set oidset; 14 14 15 gss_create_empty_oid_set(&status, &oidset); 16 gss_add_oid_set_member(&status, ctx->oid, &oidset); 15 if (options.gss_strict_acceptor) { 16 gss_create_empty_oid_set(&status, &oidset); 17 gss_add_oid_set_member(&status, ctx->oid, &oidset); 17 18 18 - if (gethostname(lname, MAXHOSTNAMELEN)) {19 - gss_release_oid_set(&status, &oidset);20 - return (-1);21 - }19 - if (gethostname(lname, MAXHOSTNAMELEN)) { 20 - gss_release_oid_set(&status, &oidset); 21 - return (-1); 22 - } 22 23 - 23 - if (GSS_ERROR(ssh_gssapi_import_name(ctx, lname))) {24 - gss_release_oid_set(&status, &oidset);25 - return (ctx->major);26 - }24 - if (GSS_ERROR(ssh_gssapi_import_name(ctx, lname))) { 25 - gss_release_oid_set(&status, &oidset); 26 - return (ctx->major); 27 - } 27 28 - 28 if ((ctx->major = gss_acquire_cred(&ctx->minor,29 ctx->name, 0, oidset, GSS_C_ACCEPT, &ctx->creds, NULL, NULL)))30 ssh_gssapi_error(ctx);29 if ((ctx->major = gss_acquire_cred(&ctx->minor, 30 ctx->name, 0, oidset, GSS_C_ACCEPT, &ctx->creds, 31 NULL, NULL))) 31 32 @@ -102,6 +102,8 @@ 32 33 {
Note: See TracChangeset
for help on using the changeset viewer.