From 6d4da04566861b97e1a52eb4dadcb8fd83b95284 Mon Sep 17 00:00:00 2001 From: Chris Lamb Date: Sat, 18 Feb 2017 08:56:18 +1300 Subject: [PATCH] Correct "existence" typos. Signed-off-by: Chris Lamb Reviewed-by: Andrew Bartlett Reviewed-by: Garming Sam (cherry picked from Samba commit 5482e5426e09667d26e04dd0c6e0107e46e1028f) --- lib/hx509/cert.c | 2 +- lib/krb5/creds.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/hx509/cert.c b/lib/hx509/cert.c index dd6d38917..ecffb35d2 100644 --- a/lib/hx509/cert.c +++ b/lib/hx509/cert.c @@ -854,7 +854,7 @@ check_key_usage(hx509_context context, const Certificate *cert, /* * Return 0 on matching key usage 'flags' for 'cert', otherwise return - * an error code. If 'req_present' the existance is required of the + * an error code. If 'req_present' the existence is required of the * KeyUsage extension. */ diff --git a/lib/krb5/creds.c b/lib/krb5/creds.c index 16e3f5780..d62a70acb 100644 --- a/lib/krb5/creds.c +++ b/lib/krb5/creds.c @@ -190,7 +190,7 @@ krb5_times_equal(const krb5_times *a, const krb5_times *b) * - KRB5_TC_MATCH_TIMES Compares only the expiration times of the creds. * - KRB5_TC_MATCH_AUTHDATA Compares the authdata fields. * - KRB5_TC_MATCH_2ND_TKT Compares the second tickets (used by user-to-user authentication). - * - KRB5_TC_MATCH_IS_SKEY Compares the existance of the second ticket. + * - KRB5_TC_MATCH_IS_SKEY Compares the existence of the second ticket. * * @param context Kerberos 5 context. * @param whichfields which fields to compare.