.\" DO NOT MODIFY THIS FILE! It was generated by gdoc. .TH "shishi_as_check_cname" 3 "1.0.2" "shishi" "shishi" .SH NAME shishi_as_check_cname \- API function .SH SYNOPSIS .B #include .sp .BI "int shishi_as_check_cname(Shishi * " handle ", Shishi_asn1 " asreq ", Shishi_asn1 " asrep ");" .SH ARGUMENTS .IP "Shishi * handle" 12 shishi handle as allocated by \fBshishi_init()\fP. .IP "Shishi_asn1 asreq" 12 AS\-REQ to compare client name field in. .IP "Shishi_asn1 asrep" 12 AS\-REP to compare client name field in. .SH "DESCRIPTION" Verify that AS\-REQ.req\-body.realm and AS\-REP.crealm fields matches. This is one of the steps that has to be performed when processing a AS\-REQ and AS\-REP exchange, see \fBshishi_kdc_process()\fP. .SH "RETURN VALUE" Returns SHISHI_OK if successful, SHISHI_CNAME_MISMATCH if the values differ, or an error code. .SH "REPORTING BUGS" Report bugs to . .SH COPYRIGHT Copyright \(co 2002-2010 Simon Josefsson. .br Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. .SH "SEE ALSO" The full documentation for .B shishi is maintained as a Texinfo manual. If the .B info and .B shishi programs are properly installed at your site, the command .IP .B info shishi .PP should give you access to the complete manual.