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:
authorAdam Langley <agl@google.com>2014-12-17 02:53:01 +0300
committerAdam Langley <agl@google.com>2015-01-06 03:27:07 +0300
commita7f6d3c1dcf38b5312ab6f30cd2a14d07f20ba8c (patch)
treee5126c483a3d2d0eebf3e9b82e8cbaee76598915 /crypto/pkcs8
parent93efb7228bf9f1710075c4fd1ca3a9717b892e34 (diff)
Add void in place of empty function arguments.
Since this is C89 we need to maintain this ancient practice. Change-Id: I7223e7c38a35cf551b6e3c9159d2e21ebf7e62be Reviewed-on: https://boringssl-review.googlesource.com/2631 Reviewed-by: David Benjamin <davidben@chromium.org> Reviewed-by: Adam Langley <agl@google.com>
Diffstat (limited to 'crypto/pkcs8')
-rw-r--r--crypto/pkcs8/pkcs8.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/pkcs8/pkcs8.c b/crypto/pkcs8/pkcs8.c
index 58e400dd..f7fa7c1d 100644
--- a/crypto/pkcs8/pkcs8.c
+++ b/crypto/pkcs8/pkcs8.c
@@ -263,8 +263,8 @@ typedef int (*keygen_func)(EVP_CIPHER_CTX *ctx, const uint8_t *pass_raw,
struct pbe_suite {
int pbe_nid;
- const EVP_CIPHER* (*cipher_func)();
- const EVP_MD* (*md_func)();
+ const EVP_CIPHER* (*cipher_func)(void);
+ const EVP_MD* (*md_func)(void);
keygen_func keygen;
};