<html lang='en'>
<head>
<meta content='text/html; charset=utf-8' http-equiv='Content-Type'>
<title>
GitLab
</title>
</meta>
</head>
<style>
img {
max-width: 100%;
height: auto;
}
p.details {
font-style:italic;
color:#777
}
.footer p {
font-size:small;
color:#777
}
pre.commit-message {
white-space: pre-wrap;
}
.file-stats a {
text-decoration: none;
}
.file-stats .new-file {
color: #090;
}
.file-stats .deleted-file {
color: #B00;
}
</style>
<body>
<div class='content'>
<h3>
Hal Murray pushed to branch master
at <a href="https://gitlab.com/NTPsec/ntpsec">NTPsec / ntpsec</a>
</h3>
<h4>
Commits:
</h4>
<ul>
<li>
<strong><a href="https://gitlab.com/NTPsec/ntpsec/commit/03d855b1b70922d912838b7810b02ee5c6939f83">03d855b1</a></strong>
<div>
<span>by Hal Murray</span>
<i>at 2016-02-13T02:57:37-08:00</i>
</div>
<pre class='commit-message'>Minor cleanup</pre>
</li>
</ul>
<h4>1 changed file:</h4>
<ul>
<li class='file-stats'>
<a href='#diff-0'>
libntp/authkeys.c
</a>
</li>
</ul>
<h4>Changes:</h4>
<li id='diff-0'>
<a href='https://gitlab.com/NTPsec/ntpsec/commit/03d855b1b70922d912838b7810b02ee5c6939f83#diff-0'>
<strong>
libntp/authkeys.c
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/libntp/authkeys.c
</span><span style="color: #000000;background-color: #ddffdd">+++ b/libntp/authkeys.c
</span><span style="color: #aaaaaa">@@ -55,18 +55,15 @@ static void freesymkey(symkey *, symkey **);
</span> static void free_auth_mem(void);
#endif
<span style="color: #000000;background-color: #ffdddd">-symkey key_listhead; /* list of all in-use keys */;
</span><span style="color: #000000;background-color: #ddffdd">+symkey key_listhead; /* list of all in-use keys */;
</span> /*
* The hash table. This is indexed by the low order bits of the
<span style="color: #000000;background-color: #ffdddd">- * keyid. We make this fairly big for potentially busy servers.
</span><span style="color: #000000;background-color: #ddffdd">+ * keyid. This gets updated in auth_resize_hashtable
</span> */
<span style="color: #000000;background-color: #ffdddd">-#define DEF_AUTHHASHSIZE 64
-//#define HASHMASK ((HASHSIZE)-1)
-#define KEYHASH(keyid) ((keyid) & authhashmask)
-
-int authhashdisabled;
-u_short authhashbuckets = DEF_AUTHHASHSIZE;
-u_short authhashmask = DEF_AUTHHASHSIZE - 1;
</span><span style="color: #000000;background-color: #ddffdd">+#define KEYHASH(keyid) ((keyid) & authhashmask)
+#define INIT_AUTHHASHSIZE 64
+u_short authhashbuckets = INIT_AUTHHASHSIZE;
+u_short authhashmask = INIT_AUTHHASHSIZE - 1;
</span> symkey **key_hash;
u_long authkeynotfound; /* keys not found */
</code></pre>
<br>
</li>
</div>
<div class='footer' style='margin-top: 10px;'>
<p>
—
<br>
<a href="https://gitlab.com/NTPsec/ntpsec/commit/03d855b1b70922d912838b7810b02ee5c6939f83">View it on GitLab</a>.
<br>
You're receiving this email because of your account on gitlab.com.
If you'd like to receive fewer emails, you can
adjust your notification settings.
<script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","action":{"@type":"ViewAction","name":"View Commit","url":"https://gitlab.com/NTPsec/ntpsec/commit/03d855b1b70922d912838b7810b02ee5c6939f83"}}</script>
</p>
</div>
</body>
</html>