Skip to content
Snippets Groups Projects
Commit a291afe3 authored by Arie Peterson's avatar Arie Peterson
Browse files

Rename function for reading authorized_keys file

parent 133265fd
No related branches found
No related tags found
No related merge requests found
......@@ -3,7 +3,7 @@
* array.
* @return json array of authorized_keys
*/
json_t * readAuthorizedKeysJSON()
json_t * readAuthorizedKeysToJson()
{
json_t * keys = json_object();
......@@ -62,7 +62,7 @@ int callback_ssh_keys_get(const struct _u_request * request,
struct _u_response * response, void * user_data)
{
// Read lines of authorized_keys file into json array.
json_t * keys = readAuthorizedKeysJSON();
json_t * keys = readAuthorizedKeysToJson();
if (keys == NULL)
{
printf("Could not open authorized_keys file\n");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment