boost::filesystem::path
openssl_path ()
{
- auto p = directory_containing_executable() / "dcpomatic2_openssl";
- if (boost::filesystem::is_regular_file(p)) {
- return p;
- }
-
- return "dcpomatic2_openssl";
+ /* Assume it's on the path */
+ return "openssl";
}