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
41e4dded
Commit
41e4dded
authored
5 years ago
by
dmitriy.gerasimov
Browse files
Options
Downloads
Patches
Plain Diff
[+] setup endiands
[+] Some more debug output
parent
5a2e97f0
No related branches found
Branches containing commit
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
+3
-1
3 additions, 1 deletion
dap_chain_cert.c
monero_crypto/common/int-util.h
+12
-2
12 additions, 2 deletions
monero_crypto/common/int-util.h
with
15 additions
and
3 deletions
dap_chain_cert.c
+
3
−
1
View file @
41e4dded
...
...
@@ -453,7 +453,9 @@ void dap_chain_cert_add_folder(const char *a_folder_path)
}
closedir
(
l_dir
);
}
log_it
(
L_NOTICE
,
"Added folder %s"
,
a_folder_path
);
}
else
log_it
(
L_WARNING
,
"Can't add folder %s to cert manager"
,
a_folder_path
);
}
/**
...
...
This diff is collapsed.
Click to expand it.
monero_crypto/common/int-util.h
+
12
−
2
View file @
41e4dded
...
...
@@ -35,7 +35,6 @@
#include
<stdint.h>
#include
<string.h>
#include
<sys/param.h>
#if defined(__ANDROID__)
#include
<byteswap.h>
#endif
...
...
@@ -207,7 +206,18 @@ static inline void memcpy_swap64(void *dst, const void *src, size_t n) {
}
}
#if !defined(BYTE_ORDER) || !defined(LITTLE_ENDIAN) || !defined(BIG_ENDIAN)
#if !defined(BYTE_ORDER)
#define BYTE_ORDER __BYTE_ORDER__
#endif
#if !defined(LITTLE_ENDIAN)
#define LITTLE_ENDIAN __LITTLE_ENDIAN__
#endif
#if !defined(BIG_ENDIAN)
#define BIG_ENDIAN __BIG_ENDIAN__
#endif
#if !defined(BYTE_ORDER)|| !defined(LITTLE_ENDIAN) || !defined(BIG_ENDIAN)
static_assert
(
false
,
"BYTE_ORDER is undefined. Perhaps, GNU extensions are not enabled"
);
#endif
...
...
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