From 1953b0bd397025458e931ab9de8c6f6920021c01 Mon Sep 17 00:00:00 2001 From: Jeffrey Altman Date: Thu, 17 Mar 2016 11:29:45 -0500 Subject: [PATCH] krb5: pricipal -> principal fix the spelling errors Change-Id: I6769ecc50009c11a296766961c1873f4836f33a7 --- lib/krb5/fcache.c | 2 +- lib/krb5/krb5_get_init_creds.3 | 2 +- lib/krb5/principal.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/krb5/fcache.c b/lib/krb5/fcache.c index b81e518b5..4573c5d62 100644 --- a/lib/krb5/fcache.c +++ b/lib/krb5/fcache.c @@ -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); diff --git a/lib/krb5/krb5_get_init_creds.3 b/lib/krb5/krb5_get_init_creds.3 index 764efb47e..fccad5c4c 100644 --- a/lib/krb5/krb5_get_init_creds.3 +++ b/lib/krb5/krb5_get_init_creds.3 @@ -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. diff --git a/lib/krb5/principal.c b/lib/krb5/principal.c index 2ce5c7cc1..93ecde1f9 100644 --- a/lib/krb5/principal.c +++ b/lib/krb5/principal.c @@ -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().