X-Git-Url: https://www.tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Fcrypto.h;h=74bab1b0a858b71bc4668a75f8d09e74afe600b4;hb=72136f8418bc7e8a0a5bf3c11215aa49dc679659;hp=cd3654fec4849805c004e86eb6fd68c7729c5b6e;hpb=0acdce222ff21c84cafc82c137e3d1e107a66fd9;p=tinc diff --git a/src/crypto.h b/src/crypto.h index cd3654fe..74bab1b0 100644 --- a/src/crypto.h +++ b/src/crypto.h @@ -1,3 +1,6 @@ +#ifndef TINC_CRYPTO_H +#define TINC_CRYPTO_H + /* crypto.h -- header for crypto.c Copyright (C) 2007-2013 Guus Sliepen @@ -17,11 +20,8 @@ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#ifndef __TINC_CRYPTO_H__ -#define __TINC_CRYPTO_H__ - -extern void crypto_init(); -extern void crypto_exit(); -extern void randomize(void *, size_t); +extern void crypto_init(void); +extern void crypto_exit(void); +extern void randomize(void *buf, size_t buflen); #endif