From 7539f5fbf43a8d5b454cd0f7725cb5247d227647 Mon Sep 17 00:00:00 2001 From: Jonathan Beck Date: Fri, 22 Aug 2008 18:32:20 +0200 Subject: Handle known device through their UniqueDeviceID and use it as name to store PEM device public key. --- src/userpref.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/userpref.h') diff --git a/src/userpref.h b/src/userpref.h index c437e52..553c5df 100644 --- a/src/userpref.h +++ b/src/userpref.h @@ -35,12 +35,12 @@ char* get_host_id(); * * @return 1 if device is already paired. Returns 0 otherwise. */ -int is_device_known(char* public_key); +int is_device_known(char* uid); /** * @return 1 if everything went well. Returns 0 otherwise. */ -int store_device_public_key(char* public_key); +int store_device_public_key(char* uid, char* public_key); /** * @return 1 if everything went well. Returns 0 otherwise. -- cgit v1.1-32-gdbae