diff options
| author | Andreas Schneider <asn@cryptomilk.org> | 2015-04-10 12:57:07 +0200 |
|---|---|---|
| committer | Andreas Schneider <asn@cryptomilk.org> | 2015-04-10 13:02:56 +0200 |
| commit | c699b9ca94ed49d09250058a6ec0e762f4ab2faa (patch) | |
| tree | 9d05ed1339b254294966a9fea62ae59d4b92a9cc /include/libssh/pki_priv.h | |
| parent | 53586ed4ba43225e140791812074e4b21d7b2726 (diff) | |
| download | libssh-c699b9ca94ed49d09250058a6ec0e762f4ab2faa.tar.gz libssh-c699b9ca94ed49d09250058a6ec0e762f4ab2faa.tar.xz libssh-c699b9ca94ed49d09250058a6ec0e762f4ab2faa.zip | |
external: Use standard int types
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Diffstat (limited to 'include/libssh/pki_priv.h')
| -rw-r--r-- | include/libssh/pki_priv.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/include/libssh/pki_priv.h b/include/libssh/pki_priv.h index 213e147a..5acb02a8 100644 --- a/include/libssh/pki_priv.h +++ b/include/libssh/pki_priv.h @@ -22,9 +22,15 @@ #define PKI_PRIV_H_ #include "libssh/pki.h" + /* defined in bcrypt_pbkdf.c */ -int bcrypt_pbkdf(const char *pass, size_t passlen, const u_int8_t *salt, - size_t saltlen, u_int8_t *key, size_t keylen, unsigned int rounds); +int bcrypt_pbkdf(const char *pass, + size_t passlen, + const uint8_t *salt, + size_t saltlen, + uint8_t *key, + size_t keylen, + unsigned int rounds); #define RSA_HEADER_BEGIN "-----BEGIN RSA PRIVATE KEY-----" #define RSA_HEADER_END "-----END RSA PRIVATE KEY-----" |
