From 79c44b4e3044aee9dc9618850d4f1ce067757b4b Mon Sep 17 00:00:00 2001 From: Veres Lajos Date: Sat, 30 Nov 2019 23:18:47 +0000 Subject: Fix some typos Reported-by: misspell-fixer CLA: trivial Reviewed-by: Matthias St. Pierre Reviewed-by: Richard Levitte (Merged from https://github.com/openssl/openssl/pull/10544) --- crypto/property/property_err.c | 4 ++-- crypto/property/property_parse.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'crypto/property') diff --git a/crypto/property/property_err.c b/crypto/property/property_err.c index 477dedfd00..5f81930190 100644 --- a/crypto/property/property_err.c +++ b/crypto/property/property_err.c @@ -24,8 +24,8 @@ static const ERR_STRING_DATA PROP_str_reasons[] = { "not an octal digit"}, {ERR_PACK(ERR_LIB_PROP, 0, PROP_R_NOT_A_DECIMAL_DIGIT), "not a decimal digit"}, - {ERR_PACK(ERR_LIB_PROP, 0, PROP_R_NO_MATCHING_STRING_DELIMETER), - "no matching string delimeter"}, + {ERR_PACK(ERR_LIB_PROP, 0, PROP_R_NO_MATCHING_STRING_DELIMITER), + "no matching string delimiter"}, {ERR_PACK(ERR_LIB_PROP, 0, PROP_R_NO_VALUE), "no value"}, {ERR_PACK(ERR_LIB_PROP, 0, PROP_R_PARSE_FAILED), "parse failed"}, {ERR_PACK(ERR_LIB_PROP, 0, PROP_R_STRING_TOO_LONG), "string too long"}, diff --git a/crypto/property/property_parse.c b/crypto/property/property_parse.c index f6377e7714..6476f65bc7 100644 --- a/crypto/property/property_parse.c +++ b/crypto/property/property_parse.c @@ -203,7 +203,7 @@ static int parse_string(OPENSSL_CTX *ctx, const char *t[], char delim, s++; } if (*s == '\0') { - ERR_raise_data(ERR_LIB_PROP, PROP_R_NO_MATCHING_STRING_DELIMETER, + ERR_raise_data(ERR_LIB_PROP, PROP_R_NO_MATCHING_STRING_DELIMITER, "HERE-->%c%s", delim, *t); return 0; } @@ -492,7 +492,7 @@ int ossl_property_match_count(const OSSL_PROPERTY_LIST *query, /* * Handle the cases of a missing value and a query with no corresponding - * definition. The former fails for any comparision except inequality, + * definition. The former fails for any comparison except inequality, * the latter is treated as a comparison against the Boolean false. */ if (q[i].type == PROPERTY_TYPE_VALUE_UNDEFINED) { -- cgit v1.2.3