[OpenSER-Devel] Minor bug in uac module uac_auth() function.

Bogdan-Andrei Iancu bogdan at voice-system.ro
Mon Oct 22 20:23:48 CEST 2007


Hi Aki,

Good catch - you are right - I made a different fix - using the LOWER1B 
local macro ;). I applied the fix on SVN devel and 1.2 + 1.1

Thanks and regards,
Bogdan

Aki Rehn wrote:
> Hi,
>
> We were discussing this on #openser yesterday, when someone was asking 
> for help. The problem was with uac_auth() function which seemed to fail.
>
> Sample WWW-Authenticate hf:
> WWW-Authenticate: Digest 
> realm="Foo",nonce="73830a18613da2625e157c0917bc268b.1192975256", 
> stale=FALSE, algorithm=MD5
>
> auth_hdr.c didnt accept uppercase "FALSE" as a value. Here's a quick 
> fix. Pity that the 1.3.0 is frozen, but maybe someone could please add 
> it to the next branch.
>
> --- 8< ---
> /usr/local/src/openser-1.2.2-notls/modules/uac$ diff auth_hdr.c 
> auth_hdr.orig
> 247c247
> <                               } else if ( !(val.len==5 && 
> (val.s[4]=='e' || val.s[4]=='E') &&
> ---
> >                               } else if ( !(val.len==5 && 
> val.s[4]=='e' &&
>
>
> Br,
> Aki
>
>
> _______________________________________________
> Devel mailing list
> Devel at openser.org
> http://openser.org/cgi-bin/mailman/listinfo/devel
>




More information about the Devel mailing list