summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
b91db65)
We had some unconventional-for-secnet whitespace around `='.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
FILE *f=0;
struct sigprivkey_if *sigpriv=0;
FILE *f=0;
struct sigprivkey_if *sigpriv=0;
if (!f) {
if (errno == ENOENT) {
slilog(log,M_DEBUG,"private key %s not found",
if (!f) {
if (errno == ENOENT) {
slilog(log,M_DEBUG,"private key %s not found",
static struct sigprivkey_if *privcache_lookup(void *sst,
const struct sigkeyid *id,
struct log_if *log) {
static struct sigprivkey_if *privcache_lookup(void *sst,
const struct sigkeyid *id,
struct log_if *log) {
- struct privcache *st = sst;
+ struct privcache *st=sst;
int was;
struct ent result;
int was;
struct ent result;
}
if (st->used < st->alloc) {
}
if (st->used < st->alloc) {
if (st->ents[was].sigpriv) {
st->ents[was].sigpriv->dispose(st->ents[was].sigpriv->st);
}
if (st->ents[was].sigpriv) {
st->ents[was].sigpriv->dispose(st->ents[was].sigpriv->st);
}
found:
memmove(&st->ents[1], &st->ents[0], sizeof(st->ents[0]) * was);
found:
memmove(&st->ents[1], &st->ents[0], sizeof(st->ents[0]) * was);