GSSBuffer input((char *)"Input message");
gss_qop_t desiredQop = rand();
int desiredConf = rand();
- gss_ctx_id_t desiredContext = (gss_ctx_id_t)rand();
+ gss_ctx_id_t desiredContext = (gss_ctx_id_t)( (long)0 | rand() );
/* Error checking */
/* Setup */
void GSSWrapTest::testConstructorWithJSONObject()
{
/* Variables */
- GSSContext context( (gss_ctx_id_t)rand(), true );
+ GSSContext context( (gss_ctx_id_t)( (long)0 | rand()),
+ true );
std::string key = GSSContextCache::instance()->store(context);
std::string input = "{ \