summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorRobert Swiecki <robert@swiecki.net>2017-11-10 15:39:24 +0100
committerRobert Swiecki <robert@swiecki.net>2017-11-10 15:39:24 +0100
commit0d539baba8aca46c409c91978bb3861e51b3fa02 (patch)
tree563699c5150dc5f29ab3c22d7fb67f04e9a54cd5 /examples
parentb5322bc5c86072cb824fd103ee8bfc6d2d48fa76 (diff)
downloadhonggfuzz-0d539baba8aca46c409c91978bb3861e51b3fa02.tar.gz
examples/openssl: change prototype of rnd for boringssl: unsigned long -> size_t
Diffstat (limited to 'examples')
-rw-r--r--examples/openssl/hf_ssl_lib.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/openssl/hf_ssl_lib.h b/examples/openssl/hf_ssl_lib.h
index 4a4b32fb..5960c898 100644
--- a/examples/openssl/hf_ssl_lib.h
+++ b/examples/openssl/hf_ssl_lib.h
@@ -19,7 +19,7 @@ extern "C" {
#endif
#if defined(HF_SSL_IS_BORINGSSL)
-static int hf_rnd(unsigned char* buf, unsigned long num)
+static int hf_rnd(unsigned char* buf, size_t num)
#else /* defined(HF_SSL_IS_OPENSSL) */
static int hf_rnd(unsigned char* buf, int num)
#endif /* defined(HF_SSL_IS_OPENSSL) */