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
8ffab708
Commit
8ffab708
authored
May 16, 2017
by
Geoff Simmons
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Polish.
parent
edfc93cf
Pipeline
#214
skipped
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
vmod_gcrypt.c
src/vmod_gcrypt.c
+2
-2
No files found.
src/vmod_gcrypt.c
View file @
8ffab708
...
...
@@ -103,7 +103,7 @@ static void __match_proto__(gcry_handler_log_t)
gcrypt_logger
(
void
*
priv
,
int
level
,
const
char
*
fmt
,
va_list
args
)
{
enum
VSL_tag_e
tag
=
SLT_Debug
;
const
char
*
lvl
=
"
INFO
"
;
const
char
*
lvl
=
"
unknown log level
"
;
(
void
)
priv
;
switch
(
level
)
{
...
...
@@ -352,13 +352,13 @@ vmod_symmetric__init(VRT_CTX, struct vmod_gcrypt_symmetric **symmetricp,
VERRNOMEM
(
ctx
,
"copying key in %s constructor"
,
vcl_name
);
return
;
}
memcpy
(
symmetric
->
key
,
key
->
priv
,
key
->
len
);
symmetric
->
vcl_name
=
strdup
(
vcl_name
);
if
(
symmetric
->
vcl_name
==
NULL
)
{
VERRNOMEM
(
ctx
,
"copying object name in %s constructor"
,
vcl_name
);
return
;
}
memcpy
(
symmetric
->
key
,
key
->
priv
,
key
->
len
);
symmetric
->
keylen
=
key
->
len
;
symmetric
->
padding
=
padding
;
symmetric
->
algo
=
algo
;
...
...
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