remove #if 0'ed code
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12845 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -146,17 +146,7 @@ gssapi_krb5_create_8003_checksum (
|
||||
p += 4;
|
||||
|
||||
if (fwd_data->length > 0 && (flags & GSS_C_DELEG_FLAG)) {
|
||||
#if 0
|
||||
u_char *tmp;
|
||||
|
||||
result->checksum.length = 28 + fwd_data->length;
|
||||
tmp = realloc(result->checksum.data, result->checksum.length);
|
||||
if (tmp == NULL)
|
||||
return ENOMEM;
|
||||
result->checksum.data = tmp;
|
||||
|
||||
p = (u_char*)result->checksum.data + 24;
|
||||
#endif
|
||||
*p++ = (1 >> 0) & 0xFF; /* DlgOpt */ /* == 1 */
|
||||
*p++ = (1 >> 8) & 0xFF; /* DlgOpt */ /* == 0 */
|
||||
*p++ = (fwd_data->length >> 0) & 0xFF; /* Dlgth */
|
||||
|
@@ -146,17 +146,7 @@ gssapi_krb5_create_8003_checksum (
|
||||
p += 4;
|
||||
|
||||
if (fwd_data->length > 0 && (flags & GSS_C_DELEG_FLAG)) {
|
||||
#if 0
|
||||
u_char *tmp;
|
||||
|
||||
result->checksum.length = 28 + fwd_data->length;
|
||||
tmp = realloc(result->checksum.data, result->checksum.length);
|
||||
if (tmp == NULL)
|
||||
return ENOMEM;
|
||||
result->checksum.data = tmp;
|
||||
|
||||
p = (u_char*)result->checksum.data + 24;
|
||||
#endif
|
||||
*p++ = (1 >> 0) & 0xFF; /* DlgOpt */ /* == 1 */
|
||||
*p++ = (1 >> 8) & 0xFF; /* DlgOpt */ /* == 0 */
|
||||
*p++ = (fwd_data->length >> 0) & 0xFF; /* Dlgth */
|
||||
|
Reference in New Issue
Block a user