22 #include <freerdp/config.h>
24 #include <winpr/assert.h>
26 #include "sf_encomsp.h"
28 BOOL sf_peer_encomsp_init(testPeerContext* context)
30 WINPR_ASSERT(context);
32 context->encomsp = encomsp_server_context_new(context->vcm);
33 if (!context->encomsp)
36 context->encomsp->rdpcontext = &context->_p;
38 WINPR_ASSERT(context->encomsp->Start);
39 if (context->encomsp->Start(context->encomsp) != CHANNEL_RC_OK)