Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
eduroam
radsecproxy
Commits
d22a7952
Commit
d22a7952
authored
Apr 23, 2013
by
Linus Nordberg
Browse files
Make radsecproxy-hash(1) not print the hash four times.
Bug found by Simon Lundström and jocar. Conflicts: radsecproxy-hash.c
parent
e205daa6
Changes
1
Hide whitespace changes
Inline
Side-by-side
radsecproxy-hash.c
View file @
d22a7952
/*
* Copyright (C) 2011 NORDUnet A/S
* Copyright (C) 2011
,2013
NORDUnet A/S
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
...
...
@@ -36,7 +36,7 @@ main(int argc, char *argv[])
#if defined(READ_CONFIG)
char
*
config
=
NULL
;
#endif
uint8_t
buf
[
256
];
uint8_t
buf
[
64
+
1
];
char
mac
[
80
+
1
];
uint8_t
*
key
=
NULL
;
enum
{
TYPE_HASH
,
TYPE_HMAC
}
type
=
TYPE_HASH
;
...
...
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