ssl: Use sha256 in test certificates if supported
ssl: Use sha256 in test certificates if supported

This commit fixes ssl_test_lib:appropriate_sha/1 that returns sha256
if it is supported by crypto. It returns sha1 otherwise.

Change-Id: I0bfa4d50bbe3c788551a81d418db2cabc36a4344

getong/otp,lrascao/otp,legoscia/otp,kvakvs/otp,g-andrade/otp,g-andrade/otp,jj1bdx/otp,bjorng/otp,rlipscombe/otp,erlang/otp,dumbbell/otp,lrascao/otp,lrascao/otp,potatosalad/otp,dgud/otp,aboroska/otp,ferd/otp,erlang/otp,bjorng/otp,bjorng/otp,vladdu/otp,jj1bdx/otp,aboroska/otp,RoadRunnr/otp,ferd/otp,ferd/otp,RoadRunnr/otp,g-andrade/otp,erlang/otp,rlipscombe/otp,mikpe/otp,dgud/otp,aboroska/otp,ferd/otp,jj1bdx/otp,bsmr-erlang/otp,potatosalad/otp,vinoski/otp,emacsmirror/erlang,electricimp/otp,dgud/otp,mikpe/otp,electricimp/otp,emacsmirror/erlang,rlipscombe/otp,erlang/otp,getong/otp,isvilen/otp,RoadRunnr/otp,potatosalad/otp,mikpe/otp,electricimp/otp,mikpe/otp,vinoski/otp,electricimp/otp,mikpe/otp,jj1bdx/otp,ferd/otp,legoscia/otp,vinoski/otp,rlipscombe/otp,dumbbell/otp,dumbbell/otp,lrascao/otp,dgud/otp,mikpe/otp,erlang/otp,rlipscombe/otp,potatosalad/otp,isvilen/otp,bsmr-erlang/otp,legoscia/otp,mikpe/otp,isvilen/otp,potatosalad/otp,g-andrade/otp,lrascao/otp,RoadRunnr/otp,kvakvs/otp,dumbbell/otp,uabboli/otp,vinoski/otp,aboroska/otp,bsmr-erlang/otp,potatosalad/otp,bsmr-erlang/otp,electricimp/otp,uabboli/otp,RoadRunnr/otp,mikpe/otp,potatosalad/otp,bsmr-erlang/otp,bjorng/otp,erlang/otp,isvilen/otp,kvakvs/otp,getong/otp,emacsmirror/erlang,vinoski/otp,dgud/otp,dumbbell/otp,vinoski/otp,g-andrade/otp,uabboli/otp,bjorng/otp,legoscia/otp,emacsmirror/erlang,aboroska/otp,ferd/otp,dgud/otp,vladdu/otp,bjorng/otp,emacsmirror/erlang,jj1bdx/otp,electricimp/otp,erlang/otp,erlang/otp,RoadRunnr/otp,isvilen/otp,aboroska/otp,electricimp/otp,RoadRunnr/otp,jj1bdx/otp,getong/otp,rlipscombe/otp,uabboli/otp,potatosalad/otp,vladdu/otp,jj1bdx/otp,getong/otp,vinoski/otp,jj1bdx/otp,rlipscombe/otp,kvakvs/otp,emacsmirror/erlang,bsmr-erlang/otp,mikpe/otp,bjorng/otp,RoadRunnr/otp,vinoski/otp,emacsmirror/erlang,dumbbell/otp,legoscia/otp,erlang/otp,dumbbell/otp,aboroska/otp,isvilen/otp,vinoski/otp,dgud/otp,getong/otp,emacsmirror/erlang,dgud/otp,dgud/otp,bjorng/otp,uabboli/otp,isvilen/otp,erlang/otp,electricimp/otp,isvilen/otp,lrascao/otp,aboroska/otp,isvilen/otp,vladdu/otp,RoadRunnr/otp,legoscia/otp,rlipscombe/otp,bjorng/otp,getong/otp,vladdu/otp,dumbbell/otp,rlipscombe/otp,vladdu/otp,kvakvs/otp,dumbbell/otp,vladdu/otp,lrascao/otp,electricimp/otp,emacsmirror/erlang,isvilen/otp,g-andrade/otp,legoscia/otp,g-andrade/otp,getong/otp,rlipscombe/otp,getong/otp,vinoski/otp,legoscia/otp,bsmr-erlang/otp,bjorng/otp,aboroska/otp,kvakvs/otp,ferd/otp,uabboli/otp,kvakvs/otp,potatosalad/otp,ferd/otp,g-andrade/otp,ferd/otp,vladdu/otp,g-andrade/otp,getong/otp,lrascao/otp,uabboli/otp,jj1bdx/otp,mikpe/otp,legoscia/otp,dgud/otp,bsmr-erlang/otp,potatosalad/otp,dumbbell/otp,emacsmirror/erlang,uabboli/otp,uabboli/otp,lrascao/otp,kvakvs/otp,jj1bdx/otp,vladdu/otp,g-andrade/otp,bsmr-erlang/otp,kvakvs/otp