Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
K
Knot Resolver
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Tomas Krizek
Knot Resolver
Commits
ddd7c5f8
Commit
ddd7c5f8
authored
Jul 26, 2016
by
Karel Slaný
Committed by
Ondřej Surý
Aug 11, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Made some function parameters const.
parent
fd380a72
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
4 deletions
+4
-4
lib/cookies/helper.c
lib/cookies/helper.c
+1
-1
lib/cookies/helper.h
lib/cookies/helper.h
+1
-1
lib/cookies/nonce.c
lib/cookies/nonce.c
+1
-1
lib/cookies/nonce.h
lib/cookies/nonce.h
+1
-1
No files found.
lib/cookies/helper.c
View file @
ddd7c5f8
...
...
@@ -164,7 +164,7 @@ int kr_request_put_cookie(const struct kr_cookie_comp *clnt_comp,
int
kr_answer_write_cookie
(
const
struct
knot_sc_private
*
srvr_data
,
const
uint8_t
*
cc
,
uint16_t
cc_len
,
struct
kr_nonce_input
*
nonce
,
const
struct
kr_nonce_input
*
nonce
,
const
struct
knot_sc_alg
*
alg
,
knot_pkt_t
*
pkt
)
{
...
...
lib/cookies/helper.h
View file @
ddd7c5f8
...
...
@@ -55,7 +55,7 @@ int kr_request_put_cookie(const struct kr_cookie_comp *clnt_comp,
KR_EXPORT
int
kr_answer_write_cookie
(
const
struct
knot_sc_private
*
srvr_data
,
const
uint8_t
*
cc
,
uint16_t
cc_len
,
struct
kr_nonce_input
*
nonce
,
const
struct
kr_nonce_input
*
nonce
,
const
struct
knot_sc_alg
*
alg
,
knot_pkt_t
*
pkt
);
...
...
lib/cookies/nonce.c
View file @
ddd7c5f8
...
...
@@ -20,7 +20,7 @@
#include "lib/cookies/nonce.h"
uint16_t
kr_nonce_write_wire
(
uint8_t
*
buf
,
uint16_t
buf_len
,
struct
kr_nonce_input
*
input
)
const
struct
kr_nonce_input
*
input
)
{
if
(
!
buf
||
buf_len
<
KR_NONCE_LEN
||
!
input
)
{
return
0
;
...
...
lib/cookies/nonce.h
View file @
ddd7c5f8
...
...
@@ -40,4 +40,4 @@ struct kr_nonce_input {
*/
KR_EXPORT
uint16_t
kr_nonce_write_wire
(
uint8_t
*
buf
,
uint16_t
buf_len
,
struct
kr_nonce_input
*
input
);
const
struct
kr_nonce_input
*
input
);
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