also support polarssl 1.2.9+