~mamarley/openconnect/+git/gitlab-main:test

Last commit made on 2021-05-19
Get this branch:
git clone -b test https://git.launchpad.net/~mamarley/openconnect/+git/gitlab-main

Branch merges

Branch information

Recent commits

6ae55a4... by dwmw2

GnuTLS: Make load_certificate() return an allocate gtls_cert_info

Signed-off-by: David Woodhouse <email address hidden>

0cfdb7b... by Tom Carroll <email address hidden>

Use C99 initializer instead of memset.

Strictly speaking, using memset() here violates strict aliasing rules,
and it would be entirely permissible for an assert() like this example
to *fail*:

 struct gtls_cert_info gci;

 memset(&gci, 0, sizeof gci);
 assert(gci.pkey == NULL);

Signed-off-by: Tom Carroll <email address hidden>

63c984b... by dwmw2

Add more buf_append_base64() tests... and fix it.

Signed-off-by: David Woodhouse <email address hidden>

3b88d27... by dwmw2

Fix first line length in buf_append_base64()

We need to add four (for the characters we're about to append) *after*
checking against line_len and resetting ll to zero. Otherwise the first
line thinks it starts at 4 while the others start at 0.

Signed-off-by: David Woodhouse <email address hidden>

51ff522... by dwmw2

Validate line_len argument to buf_append_base64() too

Based on a patch by Tom Carroll <email address hidden>

Signed-off-by: David Woodhouse <email address hidden>

38d01c5... by dwmw2

Don't leak memory in buftest

It makes ASAN unhappy

Signed-off-by: David Woodhouse <email address hidden>

2323abe... by dwmw2

Update translations from GNOME

Signed-off-by: David Woodhouse <email address hidden>

65a0282... by dwmw2

Fix buftest to build on Windows

Signed-off-by: David Woodhouse <email address hidden>

97578bc... by dwmw2

Fix fallback/big-endian store_le16() and store_le32()

These were swapped.

Signed-off-by: David Woodhouse <email address hidden>

0f6b755... by dwmw2

Limit oc_text_buf to 16MiB, start adding test cases

We really ought to unit test this a lot harder. This is a start...

Signed-off-by: David Woodhouse <email address hidden>