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@google.com>2016-04-16 22:23:54 +0300
committerDavid Benjamin <davidben@google.com>2016-04-19 18:12:41 +0300
commit1a0a8b6760a9bc21c1c14a07c88fe63d637464ea (patch)
tree4e63c56a12cf0a664729bf82d17240345952b43d /include/openssl/digest.h
parent86361a391062e02012c92d1eefa20df3deb897f3 (diff)
Make EVP_MD_CTX size functions return size_t.
The EVP_MD versions do, so the types should bubble up. BUG=22 Change-Id: Ibccbc9ff35bbfd3d164fc28bcdd53ed97c0ab338 Reviewed-on: https://boringssl-review.googlesource.com/7687 Reviewed-by: Steven Valdez <svaldez@google.com> Reviewed-by: David Benjamin <davidben@google.com>
Diffstat (limited to 'include/openssl/digest.h')
-rw-r--r--include/openssl/digest.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/openssl/digest.h b/include/openssl/digest.h
index 80028efd..9a5ec511 100644
--- a/include/openssl/digest.h
+++ b/include/openssl/digest.h
@@ -218,11 +218,11 @@ OPENSSL_EXPORT const EVP_MD *EVP_MD_CTX_md(const EVP_MD_CTX *ctx);
/* EVP_MD_CTX_size returns the digest size of |ctx|, in bytes. It
* will crash if a digest hasn't been set on |ctx|. */
-OPENSSL_EXPORT unsigned EVP_MD_CTX_size(const EVP_MD_CTX *ctx);
+OPENSSL_EXPORT size_t EVP_MD_CTX_size(const EVP_MD_CTX *ctx);
/* EVP_MD_CTX_block_size returns the block size of the digest function used by
* |ctx|, in bytes. It will crash if a digest hasn't been set on |ctx|. */
-OPENSSL_EXPORT unsigned EVP_MD_CTX_block_size(const EVP_MD_CTX *ctx);
+OPENSSL_EXPORT size_t EVP_MD_CTX_block_size(const EVP_MD_CTX *ctx);
/* EVP_MD_CTX_type returns a NID describing the digest function used by |ctx|.
* (For example, |NID_sha256|.) It will crash if a digest hasn't been set on