projects
/
silc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
silc_pkcs_sign API change, requires hash pointer as argument.
[silc.git]
/
lib
/
silccore
/
silcauth.c
diff --git
a/lib/silccore/silcauth.c
b/lib/silccore/silcauth.c
index 25aadd8f61e04689b33ac8b4ee4994a3070e0924..da2a502fe210c9c43e31a16c49aa464aa14abbcb 100644
(file)
--- a/
lib/silccore/silcauth.c
+++ b/
lib/silccore/silcauth.c
@@
-4,7
+4,7
@@
Author: Pekka Riikonen <priikone@silcnet.org>
Author: Pekka Riikonen <priikone@silcnet.org>
- Copyright (C) 2001 - 200
6
Pekka Riikonen
+ Copyright (C) 2001 - 200
7
Pekka Riikonen
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@
-290,7
+290,7
@@
silc_auth_public_key_auth_generate_wpub(SilcPublicKey public_key,
/* Compute the hash and the signature. */
if (!silc_pkcs_sign(private_key, tmp, tmp_len, auth_data,
/* Compute the hash and the signature. */
if (!silc_pkcs_sign(private_key, tmp, tmp_len, auth_data,
- sizeof(auth_data) - 1, &auth_len, hash)) {
+ sizeof(auth_data) - 1, &auth_len,
TRUE,
hash)) {
memset(tmp, 0, tmp_len);
silc_free(tmp);
return NULL;
memset(tmp, 0, tmp_len);
silc_free(tmp);
return NULL;