Checking to see if the OpenSSL function exists, and if not, using less-secure salt-generation.