Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
libdap-chain-crypto
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
cellframe
libdap-chain-crypto
Commits
45c83dbe
Commit
45c83dbe
authored
5 years ago
by
dmitriy.gerasimov
Browse files
Options
Downloads
Patches
Plain Diff
[-] Useless debug output
[+] Usefull debug output
parent
6627a859
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
dap_chain_cert.c
+1
-1
1 addition, 1 deletion
dap_chain_cert.c
dap_chain_cert_file.c
+1
-1
1 addition, 1 deletion
dap_chain_cert_file.c
with
2 additions
and
2 deletions
dap_chain_cert.c
+
1
−
1
View file @
45c83dbe
...
...
@@ -446,7 +446,7 @@ void dap_chain_cert_add_folder(const char *a_folder_path)
char
*
l_cert_name
=
dap_strdup
(
l_filename
);
l_cert_name
[
l_filename_len
-
l_suffix_len
]
=
'\0'
;
// Remove suffix
// Load the cert file
log_it
(
L_DEBUG
,
"Trying to load %s"
,
l_filename
);
//
log_it(L_DEBUG,"Trying to load %s",l_filename);
dap_chain_cert_add_file
(
l_cert_name
,
a_folder_path
);
}
}
...
...
This diff is collapsed.
Click to expand it.
dap_chain_cert_file.c
+
1
−
1
View file @
45c83dbe
...
...
@@ -221,7 +221,7 @@ dap_chain_cert_t* dap_chain_cert_mem_load(void * a_data, size_t a_data_size)
memcpy
(
l_ret
->
enc_key
->
_inheritor
,
l_data
+
l_data_offset
,
l_ret
->
enc_key
->
_inheritor_size
);
}
dap_enc_key_update
(
l_ret
->
enc_key
);
log_it
(
L_NOTICE
,
"Successfully loaded certificate
"
);
log_it
(
L_NOTICE
,
"Successfully loaded certificate
%s"
,
l_ret
->
name
);
}
else
log_it
(
L_ERROR
,
"Unrecognizable certificate version, corrupted file or you have too old software"
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment