From 7a228c391e0a35e1dc1223e3af3371968376857b Mon Sep 17 00:00:00 2001 From: Bernd Edlinger Date: Mon, 8 Jul 2019 09:49:33 +0200 Subject: [PATCH] Replace long dash characters with normal ascii minus Reviewed-by: Paul Dale (Merged from https://github.com/openssl/openssl/pull/9321) --- crypto/ec/ec_key.c | 2 +- crypto/kdf/sskdf.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/crypto/ec/ec_key.c b/crypto/ec/ec_key.c index 76aea4f4f6..47ccfd0aea 100644 --- a/crypto/ec/ec_key.c +++ b/crypto/ec/ec_key.c @@ -303,7 +303,7 @@ int EC_KEY_check_key(const EC_KEY *eckey) * See SP800-56A R3 Section 5.6.2.3.3 (Part 2) * i.e. * - If q = odd prime p: Verify that xQ and yQ are integers in the - * interval[0, p − 1], OR + * interval[0, p - 1], OR * - If q = 2m: Verify that xQ and yQ are bit strings of length m bits. * Returns 1 if the public key has a valid range, otherwise it returns 0. */ diff --git a/crypto/kdf/sskdf.c b/crypto/kdf/sskdf.c index 31a1c1044e..62372a50ed 100644 --- a/crypto/kdf/sskdf.c +++ b/crypto/kdf/sskdf.c @@ -17,7 +17,7 @@ * Result(0) = empty bit string (i.e., the null string). * For i = 1 to reps, do the following: * Increment counter by 1. - * Result(i) = Result(i – 1) || H(counter || Z || FixedInfo). + * Result(i) = Result(i - 1) || H(counter || Z || FixedInfo). * DKM = LeftmostBits(Result(reps), L)) * * NOTES: -- 2.25.1