Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
libvmod-blobdigest
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
2
Issues
2
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-blobdigest
Commits
3b8459d7
Commit
3b8459d7
authored
Nov 27, 2016
by
Nils Goroll
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
assert an initialized blob for hmac constructor
parent
e9da277d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
vmod_blobdigest.c
src/vmod_blobdigest.c
+3
-0
No files found.
src/vmod_blobdigest.c
View file @
3b8459d7
...
...
@@ -428,6 +428,9 @@ vmod_hmac__init(VRT_CTX, struct vmod_blobdigest_hmac **hmacp,
hmac
->
hash
=
hash
;
hmac
->
vcl_name
=
strdup
(
vcl_name
);
AN
(
key
);
AN
(
key
->
priv
);
memset
(
k
,
0
,
blocksz
);
if
(
key
->
len
<=
blocksz
)
memcpy
(
k
,
key
->
priv
,
key
->
len
);
...
...
Geoff Simmons
@geoff
mentioned in commit
65e5af40
·
Dec 16, 2016
mentioned in commit
65e5af40
mentioned in commit 65e5af40c3352855cbd95bf27cdda502f36164d4
Toggle commit list
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