[CalendarServer-changes] [4895] PyKerberos/trunk/src/kerberosgss.c
source_changes at macosforge.org
source_changes at macosforge.org
Mon Jan 4 18:39:58 PST 2010
Revision: 4895
http://trac.macosforge.org/projects/calendarserver/changeset/4895
Author: cdaboo at apple.com
Date: 2010-01-04 18:39:55 -0800 (Mon, 04 Jan 2010)
Log Message:
-----------
Fix gss_wrap user name problem using patch from http://trac.calendarserver.org/ticket/355
Modified Paths:
--------------
PyKerberos/trunk/src/kerberosgss.c
Modified: PyKerberos/trunk/src/kerberosgss.c
===================================================================
--- PyKerberos/trunk/src/kerberosgss.c 2010-01-04 20:37:37 UTC (rev 4894)
+++ PyKerberos/trunk/src/kerberosgss.c 2010-01-05 02:39:55 UTC (rev 4895)
@@ -1,5 +1,5 @@
/**
- * Copyright (c) 2006-2009 Apple Inc. All rights reserved.
+ * Copyright (c) 2006-2010 Apple Inc. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -354,7 +354,7 @@
// server decides if principal can log in as user
strncpy(buf + 4, user, sizeof(buf) - 4);
input_token.value = buf;
- input_token.length = 4 + strlen(user) + 1;
+ input_token.length = 4 + strlen(user);
}
// Do GSSAPI wrap
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20100104/b0f889d5/attachment.html>
More information about the calendarserver-changes
mailing list