[Devel] TLS question

Klaus Darilion klaus.mailinglists at pernau.at
Wed Jan 25 19:15:35 CET 2006


Andreas Granig wrote:
> Klaus Darilion wrote:
> 
>>  if (tls_peer_verfied == 1) {
>>    # allow incoming SIP requests from verfied peer
>>    ...
> 
> 
> Don't know how to implement the logic itself, but IMHO it's much easier
> and cleaner to export a function, say is_tls_peer_verified(), which
> could be placed in the tls module without messing with yacc/lex...

Interesting. I guess then the tls code must export this functions like 
any other module?

Or should we write a dedicated TLS module in the modules directory for 
this functions?

regards
klaus



More information about the Devel mailing list