A political science professor said any donations used to hide former U.S. Sen. John Edwards' extramarital affair might have violated the law, even if it wasn't a formal campaign donation.