From 6bcb4175e64f1883b8125d18d8898d30391b19bf Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Sun, 14 May 2017 09:17:30 +0000 Subject: [PATCH] improve comment: use "optimization" for clarity The previous word was a misspelling of nicety Reviewed-by: Richard Levitte Reviewed-by: Rich Salz (Merged from https://github.com/openssl/openssl/pull/3464) --- crypto/engine/eng_list.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crypto/engine/eng_list.c b/crypto/engine/eng_list.c index d8eb076a68..fddebf44b8 100644 --- a/crypto/engine/eng_list.c +++ b/crypto/engine/eng_list.c @@ -18,8 +18,8 @@ /* * The linked-list of pointers to engine types. engine_list_head incorporates * an implicit structural reference but engine_list_tail does not - the - * latter is a computational niceity and only points to something that is - * already pointed to by its predecessor in the list (or engine_list_head + * latter is a computational optimization and only points to something that + * is already pointed to by its predecessor in the list (or engine_list_head * itself). In the same way, the use of the "prev" pointer in each ENGINE is * to save excessive list iteration, it doesn't correspond to an extra * structural reference. Hence, engine_list_head, and each non-null "next" -- 2.25.1