Resveratrol alleviates diabetes-induced testicular dysfunction by inhibiting oxidative stress and c-Jun N-terminal kinase signaling in rats.