@@ -47,7 +47,6 @@ _nc_server_config_add_ssh_hostkey(const struct ly_ctx *ctx, const char *tree_pat
4747 ret = nc_server_config_util_get_asym_key_pair (privkey_path , pubkey_path , NC_PUBKEY_FORMAT_SSH , & privkey ,
4848 & privkey_type , & pubkey );
4949 if (ret ) {
50- ERR (NULL , "Getting keys from file(s) failed." );
5150 goto cleanup ;
5251 }
5352
@@ -105,7 +104,6 @@ nc_server_config_add_ssh_hostkey(const struct ly_ctx *ctx, const char *endpt_nam
105104
106105 ret = _nc_server_config_add_ssh_hostkey (ctx , path , privkey_path , pubkey_path , config );
107106 if (ret ) {
108- ERR (NULL , "Creating new hostkey YANG data nodes failed." );
109107 goto cleanup ;
110108 }
111109
@@ -130,7 +128,6 @@ nc_server_config_add_ch_ssh_hostkey(const struct ly_ctx *ctx, const char *client
130128
131129 ret = _nc_server_config_add_ssh_hostkey (ctx , path , privkey_path , pubkey_path , config );
132130 if (ret ) {
133- ERR (NULL , "Creating new Call-Home hostkey YANG data nodes failed." );
134131 goto cleanup ;
135132 }
136133
@@ -292,7 +289,6 @@ nc_server_config_add_ssh_user_pubkey(const struct ly_ctx *ctx, const char *endpt
292289
293290 ret = _nc_server_config_add_ssh_user_pubkey (ctx , path , pubkey_path , config );
294291 if (ret ) {
295- ERR (NULL , "Creating new SSH user's public key failed." );
296292 goto cleanup ;
297293 }
298294
@@ -334,7 +330,6 @@ nc_server_config_add_ch_ssh_user_pubkey(const struct ly_ctx *ctx, const char *cl
334330
335331 ret = _nc_server_config_add_ssh_user_pubkey (ctx , path , pubkey_path , config );
336332 if (ret ) {
337- ERR (NULL , "Creating new CH SSH user's public key failed." );
338333 goto cleanup ;
339334 }
340335
@@ -538,7 +533,6 @@ nc_server_config_add_ssh_user_password(const struct ly_ctx *ctx, const char *end
538533
539534 ret = _nc_server_config_add_ssh_user_password (ctx , path , password , config );
540535 if (ret ) {
541- ERR (NULL , "Creating new SSH user's password failed." );
542536 goto cleanup ;
543537 }
544538
@@ -563,7 +557,6 @@ nc_server_config_add_ch_ssh_user_password(const struct ly_ctx *ctx, const char *
563557
564558 ret = _nc_server_config_add_ssh_user_password (ctx , path , password , config );
565559 if (ret ) {
566- ERR (NULL , "Creating new CH SSH user's password failed." );
567560 goto cleanup ;
568561 }
569562
0 commit comments