summaryrefslogtreecommitdiffstats
path: root/crypto/sha
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2004-05-31 12:30:41 +0000
committerAndy Polyakov <appro@openssl.org>2004-05-31 12:30:41 +0000
commit31e9b9b2e94b622f9999768db4d667e8e18f159e (patch)
treef3e5088f68d183422629ca90ed2219ceac465444 /crypto/sha
parent7997b13aa3b1e194306a510747e7f4a3907598f1 (diff)
Typo in commentary section.
Diffstat (limited to 'crypto/sha')
-rw-r--r--crypto/sha/sha256.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/sha/sha256.c b/crypto/sha/sha256.c
index 60cb0e68fd..2f4078f444 100644
--- a/crypto/sha/sha256.c
+++ b/crypto/sha/sha256.c
@@ -81,7 +81,7 @@ int SHA224_Final (unsigned char *md, SHA256_CTX *c)
/*
* Note that FIPS180-2 discusses "Truncation of the Hash Function Output."
* default: case below covers for it. It's not clear however if it's
- * permitted to truncate at amount of bits not divisable by 4. I bet not,
+ * permitted to truncate to amount of bytes not divisible by 4. I bet not,
* but if it is, then default: case shall be extended. For reference.
* Idea behind separate cases for pre-defined lenghts is to let the
* compiler decide if it's appropriate to unroll small loops.