From dffdb1388991c5b5688139bfa093c8581a0f3a36 Mon Sep 17 00:00:00 2001 From: Dennis Brentjes Date: Thu, 1 Sep 2016 13:07:57 +0200 Subject: Added a sodium implementation for creating private and public keys. --- libcmix-crypto/keypair.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libcmix-crypto/keypair.h') diff --git a/libcmix-crypto/keypair.h b/libcmix-crypto/keypair.h index 90cf16b..df5ec88 100644 --- a/libcmix-crypto/keypair.h +++ b/libcmix-crypto/keypair.h @@ -13,8 +13,8 @@ typedef void(*KeyPairDeleter)(struct KeyPair*); void keypair_deleter(struct KeyPair* p) ; struct KeyPair { - char* sec; - char* pub; + unsigned char* sec; + unsigned char* pub; unsigned int sec_len; unsigned int pub_len; KeyPairDeleter deleter; -- cgit v1.2.3-70-g09d2