We're going to reuse this.
No functional change.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
#include "util.h"
#define DEFAULT_SIZE 5
#include "util.h"
#define DEFAULT_SIZE 5
+#define DEFAULT_MAXPRIV_BYTES 4095
struct ent {
struct sigkeyid id;
struct ent {
struct sigkeyid id;
st->used=0;
int32_t buflen=dict_read_number(dict,"privkey-max",False,"privcache",loc,
st->used=0;
int32_t buflen=dict_read_number(dict,"privkey-max",False,"privcache",loc,
+ DEFAULT_MAXPRIV_BYTES);
buffer_new(&st->databuf,buflen+1);
const char *path=dict_read_string(dict,"privkeys",True,"privcache",loc);
buffer_new(&st->databuf,buflen+1);
const char *path=dict_read_string(dict,"privkeys",True,"privcache",loc);