chiark / gitweb /
site setup: move st->key_renegotiate_time default calculation nearer use
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 12 Jun 2011 18:11:45 +0000 (19:11 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 26 Jun 2011 11:07:27 +0000 (12:07 +0100)
commitc27ca22fe83cb7b8ddbf16c46fbcf2b0be659075
treef8ff5b34c0a0dca1504cc5efb42ebe357c5dbb02
parent95021ddf9183b75739cfbf04c19b5ff3f3e23fb3
site setup: move st->key_renegotiate_time default calculation nearer use

st->key_renegotiate_time is first calculated as a default and then
that value ought to be used as a default for the config lookup.  So
move the default calculation near where the config lookup takes place
to keep the related code together.

Pure code motion; no functional change.  Also, the value computed is
not currently used due to a bug which will be fixed in the next patch.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
site.c