On second-order optimality conditions in nonlinear optimization. (2nd January 2017)