aboutsummaryrefslogtreecommitdiff
path: root/sys/geom/eli/pkcs5v2.h
diff options
context:
space:
mode:
authorMariusz Zaborski <oshogbo@FreeBSD.org>2019-06-12 19:29:12 +0000
committerMariusz Zaborski <oshogbo@FreeBSD.org>2019-06-12 19:29:12 +0000
commite7630efbe60b2bac15f964a7437445950fb98074 (patch)
tree4caa6d85d8e9b7aa2149cf0beaeb04bff71b7ff4 /sys/geom/eli/pkcs5v2.h
parent705aad98c64572aefe9bdb8f1fd854f976c1b03d (diff)
geli: partially revert r348709
Let's change the unsigned arguments to the signed one, but let's don't change pointers to the array notation. Requested by: pjd
Notes
Notes: svn path=/head/; revision=349000
Diffstat (limited to 'sys/geom/eli/pkcs5v2.h')
-rw-r--r--sys/geom/eli/pkcs5v2.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/geom/eli/pkcs5v2.h b/sys/geom/eli/pkcs5v2.h
index d271c3214536..da812e98c961 100644
--- a/sys/geom/eli/pkcs5v2.h
+++ b/sys/geom/eli/pkcs5v2.h
@@ -31,7 +31,7 @@
#ifndef _PKCS5V2_H_
#define _PKCS5V2_H_
void pkcs5v2_genkey(uint8_t *key, unsigned keylen, const uint8_t *salt,
- size_t saltsize, const char passphrase[], u_int iterations);
+ size_t saltsize, const char *passphrase, u_int iterations);
#ifndef _KERNEL
int pkcs5v2_calculate(int usecs);
#endif