Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/boringssl.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Benjamin <davidben@chromium.org>2014-11-05 05:23:33 +0300
committerAdam Langley <agl@google.com>2014-11-06 04:49:03 +0300
commit9da9035b50e8eb149a9cb25cc6bf6a1690d61e07 (patch)
tree30092fcccf0663a799e117805af6c7b8b2a7fda9 /include/openssl/digest.h
parent23586e1e0ef247d5ac89ef075114129326cd01a5 (diff)
Add digest_test with tests for all existing EVP_MDs.
Remove the existing md5_test and sha1_test. They now are all covered by digest_test. For good measure, test the one-shot functions too. Change-Id: I8e144cc563fb8817144e26cbd2e10c15642464ba Reviewed-on: https://boringssl-review.googlesource.com/2211 Reviewed-by: Adam Langley <agl@google.com>
Diffstat (limited to 'include/openssl/digest.h')
-rw-r--r--include/openssl/digest.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/openssl/digest.h b/include/openssl/digest.h
index 6d8a1657..a453ea3b 100644
--- a/include/openssl/digest.h
+++ b/include/openssl/digest.h
@@ -142,7 +142,7 @@ OPENSSL_EXPORT int EVP_DigestUpdate(EVP_MD_CTX *ctx, const void *data,
* |md_out|. At most |EVP_MAX_MD_SIZE| bytes are written. If |out_size| is not
* NULL then |*out_size| is set to the number of bytes written. It returns one
* on success and zero otherwise. After this call, the hash cannot be updated
- * or finished again until |EVP_DigestFinal_ex| is called to start another
+ * or finished again until |EVP_DigestInit_ex| is called to start another
* hashing operation. */
OPENSSL_EXPORT int EVP_DigestFinal_ex(EVP_MD_CTX *ctx, uint8_t *md_out,
unsigned int *out_size);