The check is using the bash-native 'type' instead of which, because which
is not always available on all environments.
Current implementation only checks for the availability of openssl but
this can be easily expanded.
Change-Id: I97e8f52ea664ef80901deae9dea8acc93b6e1ca4
Closes-Bug: #1463101