chiark
/
gitweb
/
~ianmdlvl
/
secnet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
make-secnet-sites: Without --pubkeys-install, write appropriate key
[secnet.git]
/
modules.c
diff --git
a/modules.c
b/modules.c
index b3bdad8b07a6066ff0caac364707974fea904258..38f1d0fdd1fce7e434543a36c6d49a6f193dfd8d 100644
(file)
--- a/
modules.c
+++ b/
modules.c
@@
-4,7
+4,7
@@
*
* secnet is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by
*
* secnet is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version
d
of the License, or
+ * the Free Software Foundation; either version
3
of the License, or
* (at your option) any later version.
*
* secnet is distributed in the hope that it will be useful, but
* (at your option) any later version.
*
* secnet is distributed in the hope that it will be useful, but
@@
-21,6
+21,7
@@
void init_builtin_modules(dict_t *dict)
{
void init_builtin_modules(dict_t *dict)
{
+ pubkeys_init(dict);
resolver_module(dict);
random_module(dict);
udp_module(dict);
resolver_module(dict);
random_module(dict);
udp_module(dict);
@@
-37,4
+38,10
@@
void init_builtin_modules(dict_t *dict)
tun_module(dict);
sha1_module(dict);
log_module(dict);
tun_module(dict);
sha1_module(dict);
log_module(dict);
+ privcache_module(dict);
}
}
+
+const struct sigscheme_info sigschemes[]={
+ { "rsa1", 0x00, rsa1_loadpub, rsa1_loadpriv },
+ { 0 }
+};