Move realm conversion into helper in cc_mslsa.c

All the callers of UnicodeStringToMITPrinc() were already converting
a UnicodeString into a wchar* just to pass it in as the realm.

Simplify everyone's life by making the helper do the conversion.

(cherry picked from commit e2d1a3aea7789b6acc5fa963da75ea666614764c)

https://github.com/krb5/krb5/commit/c6dfeb57c8002db2c41bdc66e8e50570e83cd7f1
Author: Ben Kaduk <[email protected]>
Committer: Tom Yu <[email protected]>
Commit: c6dfeb57c8002db2c41bdc66e8e50570e83cd7f1
Branch: krb5-1.13
 src/lib/krb5/ccache/cc_mslsa.c |   24 +++++++++++++-----------
 1 files changed, 13 insertions(+), 11 deletions(-)
_______________________________________________
kfwdev mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/kfwdev

Reply via email to