<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/gnutls.git, branch tmp-static-assert</title>
<subtitle>gitlab.com: gnutls/gnutls.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gnutls.git/'/>
<entry>
<title>lib: use static assertion to check enum values</title>
<updated>2020-03-10T14:30:20+00:00</updated>
<author>
<name>Daiki Ueno</name>
<email>dueno@redhat.com</email>
</author>
<published>2020-02-29T16:01:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gnutls.git/commit/?id=d3ab18bbbdffc5e48df2054114f222ffb82af883'/>
<id>d3ab18bbbdffc5e48df2054114f222ffb82af883</id>
<content type='text'>
We previously had checks of enum values with '#if', such as below:

 #define GNUTLS_EXTENSION_MAX_VALUE 31

 typedef enum extensions_t {
         ...
         GNUTLS_EXTENSION_MAX /* not real extension - used for iterators */
 } extensions_t;

 /* we must provide at least 16 extensions for users to register */
 #if GNUTLS_EXTENSION_MAX_VALUE - GNUTLS_EXTENSION_MAX &lt; 16
 # error not enough extension types
 #endif

This doesn't work as expected; because GNUTLS_EXTENSION_MAX is not
defined as a preprocessor macro, it always expands to 0.  To properly
do this check, we need to use static assert as provided as the
'verify' macro in gnulib.

Signed-off-by: Daiki Ueno &lt;dueno@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We previously had checks of enum values with '#if', such as below:

 #define GNUTLS_EXTENSION_MAX_VALUE 31

 typedef enum extensions_t {
         ...
         GNUTLS_EXTENSION_MAX /* not real extension - used for iterators */
 } extensions_t;

 /* we must provide at least 16 extensions for users to register */
 #if GNUTLS_EXTENSION_MAX_VALUE - GNUTLS_EXTENSION_MAX &lt; 16
 # error not enough extension types
 #endif

This doesn't work as expected; because GNUTLS_EXTENSION_MAX is not
defined as a preprocessor macro, it always expands to 0.  To properly
do this check, we need to use static assert as provided as the
'verify' macro in gnulib.

Signed-off-by: Daiki Ueno &lt;dueno@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>hello_ext: use 64-bit integer to track extensions</title>
<updated>2020-03-10T14:29:38+00:00</updated>
<author>
<name>Daiki Ueno</name>
<email>dueno@redhat.com</email>
</author>
<published>2020-03-01T09:16:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gnutls.git/commit/?id=5937fe57a8dea3298963247c0399749d7065eaf2'/>
<id>5937fe57a8dea3298963247c0399749d7065eaf2</id>
<content type='text'>
We currently have 26 predefined extensions, allowing the user to
define 5 extra as tested in tests/handshake-large-packet.c.  However,
if we introduce one more, session-&gt;internals.used_exts exceeds.

Signed-off-by: Daiki Ueno &lt;dueno@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We currently have 26 predefined extensions, allowing the user to
define 5 extra as tested in tests/handshake-large-packet.c.  However,
if we introduce one more, session-&gt;internals.used_exts exceeds.

Signed-off-by: Daiki Ueno &lt;dueno@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'tmp-keylog-func' into 'master'</title>
<updated>2020-02-27T10:47:44+00:00</updated>
<author>
<name>Daiki Ueno</name>
<email>ueno@gnu.org</email>
</author>
<published>2020-02-27T10:47:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gnutls.git/commit/?id=41404c6e91c06c1c1f3c65c2addf0c43b6eb3174'/>
<id>41404c6e91c06c1c1f3c65c2addf0c43b6eb3174</id>
<content type='text'>
keylogfile: simplify the callback mechanism

See merge request gnutls/gnutls!1196</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
keylogfile: simplify the callback mechanism

See merge request gnutls/gnutls!1196</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'macosx-aarch64-accel' into 'master'</title>
<updated>2020-02-25T18:37:58+00:00</updated>
<author>
<name>Nikos Mavrogiannopoulos</name>
<email>nmav@gnutls.org</email>
</author>
<published>2020-02-25T18:37:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gnutls.git/commit/?id=ad5b1569c6a5e143bee49c050645c32d6acb7708'/>
<id>ad5b1569c6a5e143bee49c050645c32d6acb7708</id>
<content type='text'>
Adding missing macosx directory for aarch64 acceleration

See merge request gnutls/gnutls!1198</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Adding missing macosx directory for aarch64 acceleration

See merge request gnutls/gnutls!1198</pre>
</div>
</content>
</entry>
<entry>
<title>Adding missing macosx directory for aarch64 acceleration</title>
<updated>2020-02-24T21:43:55+00:00</updated>
<author>
<name>Ross Nicholson</name>
<email>phunkyfish@gmail.com</email>
</author>
<published>2020-02-23T07:55:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gnutls.git/commit/?id=044652add76d1cf97730053b07fd021cc1dcc0ab'/>
<id>044652add76d1cf97730053b07fd021cc1dcc0ab</id>
<content type='text'>
Signed-off-by: Ross Nicholson &lt;phunkyfish@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Ross Nicholson &lt;phunkyfish@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>keylogfile: simplify the callback mechanism</title>
<updated>2020-02-22T07:19:08+00:00</updated>
<author>
<name>Daiki Ueno</name>
<email>dueno@redhat.com</email>
</author>
<published>2020-02-21T15:38:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gnutls.git/commit/?id=8da3a71b358aa4a3199d1ee72c4e0d25a4588131'/>
<id>8da3a71b358aa4a3199d1ee72c4e0d25a4588131</id>
<content type='text'>
This partially reverts commit 97117556 with a simpler interface.  The
original intention of having the callback mechanism was to reuse it
for monitoring QUIC encryption changes.  However, it turned out to be
insufficient because such changes must be emitted after a new epoch is
ready.

Signed-off-by: Daiki Ueno &lt;dueno@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This partially reverts commit 97117556 with a simpler interface.  The
original intention of having the callback mechanism was to reuse it
for monitoring QUIC encryption changes.  However, it turned out to be
insufficient because such changes must be emitted after a new epoch is
ready.

Signed-off-by: Daiki Ueno &lt;dueno@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'pbkdf2' into 'master'</title>
<updated>2020-02-21T11:13:47+00:00</updated>
<author>
<name>Dmitry Baryshkov</name>
<email>dbaryshkov@gmail.com</email>
</author>
<published>2020-02-21T11:13:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gnutls.git/commit/?id=0f48ce3d377e4975324216543d9a2d352ec825c3'/>
<id>0f48ce3d377e4975324216543d9a2d352ec825c3</id>
<content type='text'>
lib: drop unused pbkdf2 helpers

See merge request gnutls/gnutls!1194</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
lib: drop unused pbkdf2 helpers

See merge request gnutls/gnutls!1194</pre>
</div>
</content>
</entry>
<entry>
<title>lib: drop unused pbkdf2 helpers</title>
<updated>2020-02-18T11:35:37+00:00</updated>
<author>
<name>Dmitry Baryshkov</name>
<email>dbaryshkov@gmail.com</email>
</author>
<published>2020-02-18T11:35:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gnutls.git/commit/?id=72a8c5e2cc497eabdabe2c8d605e88b3089b0f40'/>
<id>72a8c5e2cc497eabdabe2c8d605e88b3089b0f40</id>
<content type='text'>
Updated pbkdf2 API in GnuTLS removed the need for PBKDF2 helpers, drop
them now.

Signed-off-by: Dmitry Baryshkov &lt;dbaryshkov@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Updated pbkdf2 API in GnuTLS removed the need for PBKDF2 helpers, drop
them now.

Signed-off-by: Dmitry Baryshkov &lt;dbaryshkov@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'tmp-travis-bison' into 'master'</title>
<updated>2020-02-11T10:24:49+00:00</updated>
<author>
<name>Nikos Mavrogiannopoulos</name>
<email>nmav@gnutls.org</email>
</author>
<published>2020-02-11T10:24:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gnutls.git/commit/?id=8ab75b3cf7130ad7594b68c6ecba79b6e0c082d9'/>
<id>8ab75b3cf7130ad7594b68c6ecba79b6e0c082d9</id>
<content type='text'>
TravisCI: Add bison

See merge request gnutls/gnutls!1192</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
TravisCI: Add bison

See merge request gnutls/gnutls!1192</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'wip-save-ocsp-multi' into 'master'</title>
<updated>2020-02-09T14:59:00+00:00</updated>
<author>
<name>Tim Rühsen</name>
<email>tim.ruehsen@gmx.de</email>
</author>
<published>2020-02-09T14:59:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gnutls.git/commit/?id=107c1d382d7ba500b6662ce4213377d9627aeeac'/>
<id>107c1d382d7ba500b6662ce4213377d9627aeeac</id>
<content type='text'>
Add option to store all stapled OCSP responses to gnutls-cli

See merge request gnutls/gnutls!1189</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add option to store all stapled OCSP responses to gnutls-cli

See merge request gnutls/gnutls!1189</pre>
</div>
</content>
</entry>
</feed>
