chiark
/
gitweb
/
~ian
/
secnet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
test-example: all-privkeys: Define, and indirect through, a variable
[secnet.git]
/
rsa.c
diff --git
a/rsa.c
b/rsa.c
index 9cd12ba4ee0a069967733413e1f0559c5b00ed0b..ef99f91f4967228908885764fca2ef2599ca111c 100644
(file)
--- a/
rsa.c
+++ b/
rsa.c
@@
-85,7
+85,7
@@
static void verror_cfgfatal(struct load_ctx *l, struct cloc loc,
FILE *maybe_f,
const char *message, va_list args)
{
FILE *maybe_f,
const char *message, va_list args)
{
- vcfgfatal_maybefile(maybe_f,l->loc,l->what,message,args);
+ vcfgfatal_maybefile(maybe_f,l->loc,l->what,message,args
,""
);
}
struct rsapriv {
}
struct rsapriv {
@@
-404,6
+404,7
@@
static list_t *rsapub_apply(closure_t *self, struct cloc loc, dict_t *context,
bool_t rsa1_loadpub(const struct sigscheme_info *algo,
struct buffer_if *pubkeydata,
struct sigpubkey_if **sigpub_r,
bool_t rsa1_loadpub(const struct sigscheme_info *algo,
struct buffer_if *pubkeydata,
struct sigpubkey_if **sigpub_r,
+ closure_t **closure_r,
struct log_if *log, struct cloc loc)
{
struct rsapub *st=0;
struct log_if *log, struct cloc loc)
{
struct rsapub *st=0;
@@
-434,6
+435,7
@@
bool_t rsa1_loadpub(const struct sigscheme_info *algo,
if (!st) goto error_out;
*sigpub_r=&st->ops;
if (!st) goto error_out;
*sigpub_r=&st->ops;
+ *closure_r=&st->cl;
return True;
error_out:
return True;
error_out: