compatibility with Debian 6 crypto lib