[REM-2981] Move ssh-unrelated code outside of HAVE_LIBSSH ifdef
Description
Function was written in an ifdef when it should not have been, preventing Remmina from compiling without ssh enabled.
Related Issue
Motivation and Context
Remmina should not require shh to build.
Types of changes
-
Bug fix (non-breaking change which fixes an issue) -
New feature (non-breaking change which adds functionality) -
Breaking change (fix or feature that would cause existing functionality to change)
Checklist:
-
My code follows the code style of this project. -
My change requires a change to the documentation. -
I have updated the documentation accordingly.