Bug fix when using 'adhoc' as ssl_context

The order of the two values is wrong.