Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
celllframe-node
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
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
Show more breadcrumbs
Dmitry Puzyrkov
celllframe-node
Commits
b1303ee3
Commit
b1303ee3
authored
3 years ago
by
cellframe.doc
Committed by
Roman Khlopkov
3 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Add hotfix for ticket 5461
parent
bbcfc8c1
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
cellframe-sdk
+1
-1
1 addition, 1 deletion
cellframe-sdk
sources/main_node_tool.c
+21
-2
21 additions, 2 deletions
sources/main_node_tool.c
with
22 additions
and
3 deletions
cellframe-sdk
@
80ce86a8
Compare
b78f52ee
...
80ce86a8
Subproject commit
b78f52ee44bc6bf20d166a5908844e68b86a4c88
Subproject commit
80ce86a8d6440550e30a20c26f48852020bfce1e
This diff is collapsed.
Click to expand it.
sources/main_node_tool.c
+
21
−
2
View file @
b1303ee3
...
...
@@ -216,6 +216,17 @@ static int s_wallet_create(int argc, const char **argv) {
s_help
(
);
exit
(
-
2004
);
}
//
// Check unsupported tesla algorithm
//
if
(
l_sig_type
.
type
==
SIG_TYPE_TESLA
)
{
log_it
(
L_ERROR
,
"Tesla algorithm is not supported, please, use another variant"
);
exit
(
-
2004
);
}
l_wallet
=
dap_chain_wallet_create
(
l_wallet_name
,
s_system_wallet_dir
,
l_sig_type
);
return
0
;
...
...
@@ -270,10 +281,18 @@ static int s_cert_create(int argc, const char **argv) {
dap_enc_key_type_t
l_key_type
=
DAP_ENC_KEY_TYPE_NULL
;
//
// Check unsupported tesla algorithm
//
if
(
dap_strcmp
(
argv
[
4
],
"sig_tesla"
)
==
0
)
{
log_it
(
L_ERROR
,
"Tesla algorithm is not supported, please, use another variant"
);
exit
(
-
600
);
}
if
(
dap_strcmp
(
argv
[
4
],
"sig_bliss"
)
==
0
){
l_key_type
=
DAP_ENC_KEY_TYPE_SIG_BLISS
;
}
else
if
(
dap_strcmp
(
argv
[
4
],
"sig_tesla"
)
==
0
)
{
l_key_type
=
DAP_ENC_KEY_TYPE_SIG_TESLA
;
}
else
if
(
dap_strcmp
(
argv
[
4
],
"sig_picnic"
)
==
0
){
l_key_type
=
DAP_ENC_KEY_TYPE_SIG_PICNIC
;
}
else
if
(
dap_strcmp
(
argv
[
4
],
"sig_dil"
)
==
0
){
...
...
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