ZF-10748: MD2 no longer supported by OpenSSL - remove support from Zend_Crypt?


Unit tests fail on some platforms (mine is Ubuntu 10.10 running PHP 5.3.3) because OPENSSL_ALGO_MD2 is no longer defined. This is because the OpenSSL library has discontinued MD2 because it is insecure. Should all support of MD2 be removed from Zend_Crypt as well? It will be non functional on these platforms anyway.

The specific unit test failure:

Use of undefined constant OPENSSL_ALGO_MD2 - assumed 'OPENSSL_ALGO_MD2'



After changes done in the php the tests failure see http://bugs.php.net/50859

Greetings Ramon