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
258a6080
Unverified
Commit
258a6080
authored
Mar 24, 2021
by
Nils Goroll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename pkey_pem -> pubkey_pem
parent
c7582a53
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
vmod_crypto.c
src/vmod_crypto.c
+3
-3
No files found.
src/vmod_crypto.c
View file @
258a6080
...
@@ -267,7 +267,7 @@ pkey_blob(VRT_CTX, VCL_BLOB blob)
...
@@ -267,7 +267,7 @@ pkey_blob(VRT_CTX, VCL_BLOB blob)
/* to be freed by caller */
/* to be freed by caller */
static
EVP_PKEY
*
static
EVP_PKEY
*
pkey_pem
(
VRT_CTX
,
VCL_STRING
pem
)
p
ub
key_pem
(
VRT_CTX
,
VCL_STRING
pem
)
{
{
EVP_PKEY
*
pkey
;
EVP_PKEY
*
pkey
;
BIO
*
bio
;
BIO
*
bio
;
...
@@ -306,7 +306,7 @@ vmod_key_pem_pubkey(VRT_CTX, struct VPFX(crypto_key) *k,
...
@@ -306,7 +306,7 @@ vmod_key_pem_pubkey(VRT_CTX, struct VPFX(crypto_key) *k,
return
;
return
;
}
}
k
->
pkey
=
pkey_pem
(
ctx
,
pem
);
k
->
pkey
=
p
ub
key_pem
(
ctx
,
pem
);
}
}
VCL_VOID
VCL_VOID
...
@@ -450,7 +450,7 @@ vmod_verifier__init(VRT_CTX,
...
@@ -450,7 +450,7 @@ vmod_verifier__init(VRT_CTX,
}
}
if
(
args
->
valid_pem
)
if
(
args
->
valid_pem
)
pkey
=
pkey_pem
(
ctx
,
args
->
pem
);
pkey
=
p
ub
key_pem
(
ctx
,
args
->
pem
);
else
if
(
args
->
valid_key
)
else
if
(
args
->
valid_key
)
pkey
=
pkey_blob
(
ctx
,
args
->
key
);
pkey
=
pkey_blob
(
ctx
,
args
->
key
);
else
else
...
...
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