NULL principal.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5535
dc483132-0cff-0310-8789-
dd5450dbe970
Thu Apr 27 01:09:19 1995 Ezra Peisach <epeisach@kangaroo.mit.edu>
+ * krshd.c (recvauth): extract the client principal from ticket
+ before calling krb5_kuserok on a NULL principal.
+
* krcp.c: (main): Missing htons on port number when specified on
command line.
&kremuser))
return status;
+ if (status = krb5_copy_principal(bsd_context, ticket->enc_part2->client,
+ &client))
+ return status;
+
/* Setup eblock for encrypted sessions. */
krb5_use_keytype(bsd_context, &eblock, ticket->enc_part2->session->keytype);
if (status = krb5_process_key(bsd_context, &eblock, ticket->enc_part2->session))