diff options
Diffstat (limited to 'ct_usermgmt.c')
-rw-r--r-- | ct_usermgmt.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/ct_usermgmt.c b/ct_usermgmt.c index 201c0c7..c303cd5 100644 --- a/ct_usermgmt.c +++ b/ct_usermgmt.c @@ -194,7 +194,6 @@ enum parse_states { static int parse_line(char *line, char *homedir) { - int ret; char *str; enum parse_states s = PARSE_USERNAME; struct user_store *elem; @@ -219,12 +218,7 @@ static int parse_line(char *line, char *homedir) if (__check_duplicate_pubkey(pkey, sizeof(pkey))) return -EINVAL; memcpy(elem->publickey, pkey, sizeof(elem->publickey)); - ret = curve25519_proto_init(&elem->proto_inf, - elem->publickey, - sizeof(elem->publickey), - homedir, 1); - if (ret) - return -EIO; + curve25519_proto_init(&elem->proto_inf, elem->publickey, sizeof(elem->publickey)); s = PARSE_DONE; break; case PARSE_DONE: |