PolarSSL/CMake: validate cached values