It depends your perspective and who you ask. The State Department was directed to draft regulations, as is common, as the result of law. The State Department says that Clinton broke those regulations. By extension, it could be argued that she broke the law.