< Previous by Date Date Index Next by Date >
< Previous in Thread Thread Index Next in Thread >

Re: [reSIProcate-users] a bug in Stun.cxx


Hello,

Is rutil/stun/Stun.cxx deprecated or TLS mode always disabled?

In stunTest():
{
   StunAtrString username;
   StunAtrString password;
   
   username.sizeValue = 0;
   password.sizeValue = 0;
   
#ifdef USE_TLS
   stunGetUserNameAndPassword( dest, username, password );
#endif
}

Per the definition of stunGetUserNameAndPassword, we should call:

 stunGetUserNameAndPassword( dest, &username, &password ) instead.

So, if TLS enabled, this line should have compilation error.


Tom