Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
libvmod-gcrypt
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
uplex-varnish
libvmod-gcrypt
Commits
0a29241c
Commit
0a29241c
authored
May 24, 2017
by
Geoff Simmons
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove some #if-0'd-out code.
parent
9c27b2b3
Pipeline
#229
skipped
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
13 deletions
+0
-13
vmod_gcrypt.c
src/vmod_gcrypt.c
+0
-13
No files found.
src/vmod_gcrypt.c
View file @
0a29241c
...
...
@@ -663,19 +663,6 @@ get_rnd(VCL_ENUM const restrict qualitys, void * const restrict p, size_t n)
}
}
#if 0
static uint64_t
rnd_bits(VCL_ENUM const qualitys, int n)
{
uint64_t r = 0;
int nbytes = (n + 7) / 8;
assert(n >= 0 && n <= 64);
get_rnd(qualitys, (uint8_t *)&r + (8 - nbytes), nbytes);
return r >> (64 - n);
}
#endif
VCL_BLOB
vmod_random
(
VRT_CTX
,
struct
vmod_priv
*
rnd_task
,
VCL_ENUM
qualitys
,
VCL_BYTES
n
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment