krb5: pricipal -> principal

fix the spelling errors

Change-Id: I6769ecc50009c11a296766961c1873f4836f33a7
This commit is contained in:
Jeffrey Altman
2016-03-17 11:29:45 -05:00
parent 0f97855826
commit 1953b0bd39
3 changed files with 3 additions and 3 deletions

View File

@@ -805,7 +805,7 @@ fcc_get_principal(krb5_context context,
int fd;
krb5_storage *sp;
ret = init_fcc (context, id, "get-pricipal", &sp, &fd, NULL);
ret = init_fcc (context, id, "get-principal", &sp, &fd, NULL);
if (ret)
return ret;
ret = krb5_ret_principal(sp, principal);

View File

@@ -386,7 +386,7 @@ sets the salt that is going to be used in the request.
sets requested ticket lifetime.
.Pp
.Fn krb5_get_init_creds_opt_set_canonicalize
requests that the KDC canonicalize the client pricipal if possible.
requests that the KDC canonicalize the client principal if possible.
.Pp
.Fn krb5_get_init_creds_opt_set_win2k
turns on compatibility with Windows 2000.

View File

@@ -1280,7 +1280,7 @@ struct krb5_name_canon_rule_data {
* @param context A Kerberos context.
* @param hostname hostname to use
* @param sname Service name to use
* @param type name type of pricipal, use KRB5_NT_SRV_HST or KRB5_NT_UNKNOWN.
* @param type name type of principal, use KRB5_NT_SRV_HST or KRB5_NT_UNKNOWN.
* @param ret_princ return principal, free with krb5_free_principal().
*
* @return An krb5 error code, see krb5_get_error_message().