In this paper two convexity criteria are proven. The first one characterize
s compact convex sets in a locally convex space and extends a previous resu
lt by G. Aumann, while the second one characterizes closed bounded convex s
ets with the Radon-Nikodym property in a Banach space.