summaryrefslogtreecommitdiff
path: root/engines/e_padlock.c
diff options
context:
space:
mode:
authorNicola Tuveri <nic.tuv@gmail.com>2018-06-22 00:59:58 +0300
committerDr. Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>2018-06-22 08:08:01 +0200
commit3f5abab94104574c32991243668ac633a8d8e525 (patch)
treeae630280c89e05ac779bbc397b7858601d8dd1a6 /engines/e_padlock.c
parent12bd4e141eac30543a790156154deca195ace1b7 (diff)
downloadopenssl-new-3f5abab94104574c32991243668ac633a8d8e525.tar.gz
enable-ec_nistp_64_gcc_128: Fix function prototype warning [-Wstrict-prototypes]
Fix prototype warnings triggered by -Wstrict-prototypes when configuring with `enable-ec_nistp_64_gcc_128` Reviewed-by: Kurt Roeckx <kurt@roeckx.be> Reviewed-by: Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com> (Merged from https://github.com/openssl/openssl/pull/6556)
Diffstat (limited to 'engines/e_padlock.c')
-rw-r--r--engines/e_padlock.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/e_padlock.c b/engines/e_padlock.c
index b86f165504..43944abc42 100644
--- a/engines/e_padlock.c
+++ b/engines/e_padlock.c
@@ -199,10 +199,10 @@ struct padlock_cipher_data {
};
/* Interface to assembler module */
-unsigned int padlock_capability();
+unsigned int padlock_capability(void);
void padlock_key_bswap(AES_KEY *key);
void padlock_verify_context(struct padlock_cipher_data *ctx);
-void padlock_reload_key();
+void padlock_reload_key(void);
void padlock_aes_block(void *out, const void *inp,
struct padlock_cipher_data *ctx);
int padlock_ecb_encrypt(void *out, const void *inp,