Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
Tor
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
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
Service Desk
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
Benjamin J. Thompson
Tor
Commits
f8a1dc64
Commit
f8a1dc64
authored
6 years ago
by
Nick Mathewson
Browse files
Options
Downloads
Patches
Plain Diff
Fix a misspelled macro test that was breaking big-endian OPE
Fixes bug 28115; bugfix on 0.3.5.1-alpha.
parent
a5599fb7
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
changes/bug28115
+3
-0
3 additions, 0 deletions
changes/bug28115
src/lib/crypt_ops/crypto_ope.c
+1
-1
1 addition, 1 deletion
src/lib/crypt_ops/crypto_ope.c
with
4 additions
and
1 deletion
changes/bug28115
0 → 100644
+
3
−
0
View file @
f8a1dc64
o Minor bugfixes (portability):
- Make the OPE code (which is used for v3 onion services) run correctly
on big-endian platforms. Fixes bug 28115; bugfix on 0.3.5.1-alpha.
This diff is collapsed.
Click to expand it.
src/lib/crypt_ops/crypto_ope.c
+
1
−
1
View file @
f8a1dc64
...
...
@@ -48,7 +48,7 @@ struct crypto_ope_t {
/** The type to add up in order to produce our OPE ciphertexts */
typedef
uint16_t
ope_val_t
;
#ifdef WORDS_BIG
_
ENDIAN
#ifdef WORDS_BIGENDIAN
/** Convert an OPE value to little-endian */
static
inline
ope_val_t
ope_val_to_le
(
ope_val_t
x
)
...
...
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