Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
libvmod-crypto
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-crypto
Commits
c7582a53
Unverified
Commit
c7582a53
authored
Feb 10, 2021
by
Nils Goroll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add VRT_CTX to priv_fini methods
parent
4fcb4c1b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
vmod_crypto.c
src/vmod_crypto.c
+4
-2
vmod_crypto.rst
src/vmod_crypto.rst
+1
-2
No files found.
src/vmod_crypto.c
View file @
c7582a53
...
...
@@ -178,10 +178,11 @@ struct VPFX(crypto_key) {
#define CRYPTO_KEY_BLOB 0x32c81a51
static
void
key_free
(
void
*
ptr
)
key_free
(
VRT_CTX
,
void
*
ptr
)
{
struct
VPFX
(
crypto_key
)
*
k
;
(
void
)
ctx
;
CAST_OBJ_NOTNULL
(
k
,
ptr
,
VMOD_CRYPTO_KEY_MAGIC
);
if
(
k
->
pkey
!=
NULL
)
...
...
@@ -498,10 +499,11 @@ vmod_verifier__fini(struct vmod_crypto_verifier **vcvp)
}
static
void
free_crypto_verifier_task
(
void
*
ptr
)
free_crypto_verifier_task
(
VRT_CTX
,
void
*
ptr
)
{
struct
vmod_crypto_verifier_task
*
vcvt
;
(
void
)
ctx
;
CAST_OBJ_NOTNULL
(
vcvt
,
ptr
,
VMOD_CRYPTO_VERIFIER_TASK_MAGIC
);
if
(
vcvt
->
evpctx
)
EVP_MD_CTX_free
(
vcvt
->
evpctx
);
...
...
src/vmod_crypto.rst
View file @
c7582a53
..
.. NB: This file is machine generated, DO NOT EDIT!
..
.. Edit
vmod
.vcc and run make instead
.. Edit
./vmod_crypto
.vcc and run make instead
..
...
...
@@ -65,7 +65,6 @@ Example
return (synth(400, "invalid signature"));
}
}
} -start
.. _crypto.key():
...
...
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