Revamp get_pkey_public_key()
Revamp get_pkey_public_key()

* Add error handling for all OpenSSL calls.
* Only set *pkey on success.
* Consolidate all of the freeing of resources into one path.

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