Cloned from git://git.code.sf.net/p/trousers/openssl_tpm_engine