182
180
XdmPrintDataHex ("Accept packet auth", xdmcpauth->data, xdmcpauth->data_length);
183
181
XdmPrintDataHex ("Auth file auth", fileauth->data, fileauth->data_length);
184
182
/* encrypt the session key for its trip back to the server */
185
XdmcpWrap (xdmcpauth->data, (unsigned char *)&pdpy->key, xdmcpauth->data, 8);
186
185
pdpy->fileAuthorization = fileauth;
187
186
pdpy->xdmcpAuthorization = xdmcpauth;
191
190
'a' <= c && c <= 'f' ? c - 'a' + 10 : \
192
191
'A' <= c && c <= 'F' ? c - 'A' + 10 : -1)