Fixed to work with newer versions of openssl and on a network drive on a mac