if (!err) {
err = k5_ipc_stream_read_string (in_request_stream, &identity_string);
+ /* Can be empty string "" if there is no identity */
+ if (!err && identity_string[0]) {
+ k5_ipc_stream_free_string (identity_string);
+ identity_string = KIM_IDENTITY_ANY;
+ }
}
if (!err) {
if (!err) {
// performs selector on main thread
[KerberosAgentListener handleErrorWithClientPort:in_client_port
- replyPort:in_reply_port
- identity:identity_string
- error:error
- message:message
- description:description];
+ replyPort:in_reply_port
+ identity:identity_string
+ error:error
+ message:message
+ description:description];
}
k5_ipc_stream_free_string (identity_string);