コード例 #1
0
static Bool
XdmAuthenticationAddAuth (int name_len, const char *name,
    int data_len, char *data)
{
    Bool    ret;
    XdmcpUnwrap ((unsigned char *)data, (unsigned char *)&privateKey,
		 (unsigned char *)data, data_len);
    authFromXDMCP = TRUE;
    ret = AddAuthorization (name_len, name, data_len, data);
    authFromXDMCP = FALSE;
    return ret;
}
コード例 #2
0
ファイル: rpcauth.c プロジェクト: Beautifu/xserver
_X_HIDDEN void
SecureRPCInit(void)
{
    if (rpc_id == ~0L)
        AddAuthorization(9, "SUN-DES-1", 0, (char *) 0);
}