]>
git.ipfire.org Git - thirdparty/gnutls.git/log
Daiki Ueno [Fri, 17 Mar 2023 09:17:30 +0000 (18:17 +0900)]
doc: add missing documentation for enums
Signed-off-by: Daiki Ueno <ueno@gnu.org>
Daiki Ueno [Thu, 16 Mar 2023 02:31:42 +0000 (11:31 +0900)]
.gitlab-ci.yml: install clang15-extra-tools for clang-format
Signed-off-by: Daiki Ueno <ueno@gnu.org>
Daiki Ueno [Fri, 17 Mar 2023 04:05:41 +0000 (13:05 +0900)]
gnutls.h.in: stop indenting doc-comments for typedefs
Signed-off-by: Daiki Ueno <ueno@gnu.org>
Daiki Ueno [Thu, 16 Mar 2023 07:21:37 +0000 (16:21 +0900)]
build: use /* clang-format {on|off} */ annotation
Signed-off-by: Daiki Ueno <ueno@gnu.org>
Daiki Ueno [Mon, 24 Apr 2023 03:38:56 +0000 (12:38 +0900)]
doc: mention how to indent source code
Signed-off-by: Daiki Ueno <ueno@gnu.org>
Daiki Ueno [Thu, 16 Mar 2023 01:33:14 +0000 (10:33 +0900)]
build: switch to using clang-format instead of GNU indent
GNU indent yields weird output when using the Linux kernel coding
style as in the below examples, which affects code readability.
- Too long lines cause unexpected indentation:
if (!
(priv->flags &
GNUTLS_PKCS11_OBJ_FLAG_RETRIEVE_DISTRUSTED)
&& (priv->flags & GNUTLS_PKCS11_OBJ_FLAG_OVERWRITE_TRUSTMOD_EXT)
&& data.size > 0) {
- Unary operators (`-` and `+`) after a type cast are not recognized
properly: `(time_t)-1` becomes `(time-t) - 1`
- Long conditionals are wrapped before binary operators, such as `&&`
or `||`. This is not mandatory in the style, but all the occurrences
are replaced with that style
This switches to using clang-format instead, with the configuration
used in the Linux kernel as of commit
596ff4a09b8981790e15572e8e7bc904df5835e7 :
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/.clang-format
Signed-off-by: Daiki Ueno <ueno@gnu.org>
Daiki Ueno [Fri, 21 Apr 2023 07:09:17 +0000 (07:09 +0000)]
Merge branch 'wip/dueno/shuffle-exts-followup' into 'master'
doc: mention ClientHello extensions shuffling
See merge request gnutls/gnutls!1738
Daiki Ueno [Fri, 14 Apr 2023 23:04:01 +0000 (08:04 +0900)]
doc: fix typo in %DISABLE_SAFE_RENEGOTIATION documentation
Signed-off-by: Daiki Ueno <ueno@gnu.org>
Daiki Ueno [Sat, 1 Apr 2023 23:21:41 +0000 (08:21 +0900)]
doc: mention ClientHello extensions shuffling
Signed-off-by: Daiki Ueno <ueno@gnu.org>
Daiki Ueno [Sat, 1 Apr 2023 23:16:33 +0000 (08:16 +0900)]
hello_ext: minor cleanup of extension shuffling code
This reduces the number of calls to gnutls_rnd(GNUTLS_RND_RANDOM)
based on the assumption that extension indices fit in uint8_t.
This also renames the priority string modifier from %NO_EXTS_SHUFFLE
to %NO_SHUFFLE_EXTENSIONS.
Signed-off-by: Daiki Ueno <ueno@gnu.org>
Daiki Ueno [Thu, 13 Apr 2023 09:56:26 +0000 (09:56 +0000)]
Merge branch 'master' into 'master'
add test for gnutls_certificate_set_x509_trust
See merge request gnutls/gnutls!1740
xuraoqing [Thu, 13 Apr 2023 09:56:26 +0000 (09:56 +0000)]
tests: add test for gnutls_certificate_set_x509_trust
Signed-off-by: xuraoqing <xuraoqing@huawei.com>
Daiki Ueno [Wed, 5 Apr 2023 07:28:54 +0000 (07:28 +0000)]
Merge branch 'tmp-ametzler-faketime' into 'master'
Use faketime instead of datefudge
See merge request gnutls/gnutls!1716
Andreas Metzler [Sun, 5 Mar 2023 13:27:39 +0000 (14:27 +0100)]
Update docs for faketime instead of datefudge
Signed-off-by: Andreas Metzler <ametzler@bebt.de>
Andreas Metzler [Sun, 19 Mar 2023 13:42:27 +0000 (14:42 +0100)]
Drop unused function.
Signed-off-by: Andreas Metzler <ametzler@bebt.de>
Andreas Metzler [Sun, 5 Mar 2023 13:17:31 +0000 (14:17 +0100)]
Also use gnutls_timewrapper non-frozen time
also switch timeout/wrapper order
Signed-off-by: Andreas Metzler <ametzler@bebt.de>
Andreas Metzler [Sun, 5 Mar 2023 10:29:17 +0000 (11:29 +0100)]
Use gnutls_timewrapper for static (frozen time) instances
Also switch setsid/wrapper order
Signed-off-by: Andreas Metzler <ametzler@bebt.de>
Andreas Metzler [Fri, 17 Mar 2023 17:18:46 +0000 (18:18 +0100)]
Add wrapper around faketime/datefudge
Prefer faketime, fall back to datefudge.
Signed-off-by: Andreas Metzler <ametzler@bebt.de>
Andreas Metzler [Tue, 28 Feb 2023 17:49:56 +0000 (18:49 +0100)]
Change timestamp format for faketime compatibility.
Change all timestamps passed to "datefudge -s" to "YYYY-MM-DD hh:mm:ss"
format for compatibility with faketime -f ("Freeze clock" advanced format)
Signed-off-by: Andreas Metzler <ametzler@bebt.de>
Daiki Ueno [Tue, 4 Apr 2023 03:49:13 +0000 (03:49 +0000)]
Merge branch 'issue1471' into 'master'
Fix for issue #1471: Add configurable timeout to gnutls-serv
See merge request gnutls/gnutls!1726
ATHARVA S MARATHE [Tue, 4 Apr 2023 03:49:13 +0000 (03:49 +0000)]
gnutls-serv: add configurable timeout
This adds --timeout option to gnutls-serv to control the inactivity
interval, which would be useful for testing.
Fixes: #1471
Signed-off-by: maratheatharva <atharvamarathe8@gmail.com>
Daiki Ueno [Sat, 1 Apr 2023 23:24:59 +0000 (23:24 +0000)]
Merge branch 'pbkdf' into 'master'
fips: add additional pbkdf limit checks as defined in SP 800-132
See merge request gnutls/gnutls!1736
Daiki Ueno [Sat, 1 Apr 2023 23:05:00 +0000 (23:05 +0000)]
Merge branch 'dev0' into 'master'
added clientHello extension permutation
Closes #1465
See merge request gnutls/gnutls!1737
@Ajit [Sat, 1 Apr 2023 23:05:00 +0000 (23:05 +0000)]
hello_ext: add ClientHello extension permutation
This adds a mechanism to randomize the order of TLS extensions in the
ClientHello to make fingerprinting harder. The mechanism is enabled by
default and a new priority keyword %NO_EXTS_SHUFFLE has been added to
turn it off.
Signed-off-by: peonix <ajeetsinghchahar2@gmail.com>
Tobias Heider [Thu, 30 Mar 2023 14:38:05 +0000 (16:38 +0200)]
fips: adjust pbkdf2 tests for SP 800-132 limits
- Make sure to always use approved iteration count
- Check that salt < 16 return non-approved
- Check that iteration count < 1000 returns non-approved
Signed-off-by: Tobias Heider <tobias.heider@canonical.com>
Tobias Heider [Thu, 30 Mar 2023 09:36:34 +0000 (11:36 +0200)]
fips: add additional pbkdf limit checks as defined in SP 800-132
Signed-off-by: Tobias Heider <tobias.heider@canonical.com>
Daiki Ueno [Thu, 30 Mar 2023 02:18:07 +0000 (02:18 +0000)]
Merge branch 'wip/dueno/psk-username' into 'master'
src: print_info: prefer gnutls_psk_server_get_username2
See merge request gnutls/gnutls!1730
Daiki Ueno [Tue, 28 Mar 2023 11:23:40 +0000 (11:23 +0000)]
Merge branch 'dev' into 'master'
Modifier GNUTLS_NO_EXTENSIONS renamed to GNUTLS_NO_DEFAULT_EXTENSIONS
See merge request gnutls/gnutls!1734
peonix [Tue, 28 Mar 2023 08:51:07 +0000 (14:21 +0530)]
changes to keep backward compatibility
Signed-off-by: peonix <ajeetsinghchahar2@gmail.com>
peonix [Tue, 28 Mar 2023 08:50:47 +0000 (14:20 +0530)]
reformatted
Signed-off-by: peonix <ajeetsinghchahar2@gmail.com>
peonix [Tue, 28 Mar 2023 03:40:36 +0000 (09:10 +0530)]
Updated desc for @GNUTLS_NO_DEFAULT_EXTENSIONS
Signed-off-by: peonix <ajeetsinghchahar2@gmail.com>
peonix [Tue, 28 Mar 2023 03:38:40 +0000 (09:08 +0530)]
Modifier GNUTLS_NO_EXTENSIONS renamed to GNUTLS_NO_DEFAULT_EXTENSIONS
Signed-off-by: peonix <ajeetsinghchahar2@gmail.com>
Daiki Ueno [Wed, 22 Mar 2023 08:06:28 +0000 (08:06 +0000)]
Merge branch 'master' into 'master'
add DER crl list import test
See merge request gnutls/gnutls!1733
xuraoqing [Wed, 22 Mar 2023 03:46:55 +0000 (11:46 +0800)]
fix incorrect parameter description of crl import function
Signed-off-by: xuraoqing <xuraoqing@huawei.com>
Daiki Ueno [Sun, 19 Mar 2023 04:01:39 +0000 (13:01 +0900)]
psk: guard against the case where psk_auth_info_t has NULL username
This happens when gnutls_psk_server_get_username is called from a
client. Also simplify the embedded NUL-byte check with memchr.
Signed-off-by: Daiki Ueno <ueno@gnu.org>
Daiki Ueno [Sun, 19 Mar 2023 04:00:36 +0000 (13:00 +0900)]
src: print_info: prefer gnutls_psk_server_get_username2
gnutls_psk_server_get_username only supports NUL-terminated usernames,
while we added support for non-NULL terminated usernames in
d00638997fa269a975095d852633b48b2b64fbf9 .
Signed-off-by: Daiki Ueno <ueno@gnu.org>
Daiki Ueno [Mon, 20 Mar 2023 17:19:45 +0000 (17:19 +0000)]
Merge branch 'master' into 'master'
add get dn by oid test
See merge request gnutls/gnutls!1731
xuraoqing [Mon, 20 Mar 2023 06:43:34 +0000 (14:43 +0800)]
add DER crl list import test
Signed-off-by: xuraoqing <xuraoqing@huawei.com>
xuraoqing [Mon, 20 Mar 2023 06:18:19 +0000 (14:18 +0800)]
add get dn by oid test
Signed-off-by: xuraoqing <xuraoqing@huawei.com>
Daiki Ueno [Sat, 18 Mar 2023 23:12:33 +0000 (23:12 +0000)]
Merge branch 'tests-keys_limits_single' into 'master'
test:tls13/key_limits: rewrite key_limits testcase as single process
See merge request gnutls/gnutls!1728
Yongye Zhu [Sat, 18 Mar 2023 20:33:57 +0000 (15:33 -0500)]
rewrite tests/tls13/key_limits.c in single process
Signed-off-by: Yongye Zhu <zyy1102000@gmail.com>
Daiki Ueno [Sat, 18 Mar 2023 08:14:24 +0000 (08:14 +0000)]
Merge branch 'wip/dueno/pre-bootstrap' into 'master'
.gitlab-ci.yml: make use of .pre stage
See merge request gnutls/gnutls!1729
Daiki Ueno [Sat, 18 Mar 2023 01:52:13 +0000 (10:52 +0900)]
.gitlab-ci.yml: make use of .pre stage
Jobs in the .pre stage run before any other jobs:
https://docs.gitlab.com/ee/ci/yaml/index.html#stage-pre
As commit-check is lightweight and a prerequisite for merging MRs,
this moves it from the test stage to .pre.
Signed-off-by: Daiki Ueno <ueno@gnu.org>
Daiki Ueno [Fri, 17 Mar 2023 02:44:44 +0000 (02:44 +0000)]
Merge branch 'wip/dueno/distrust-after' into 'master'
pkcs11: respect Mozilla's time-based distrust upon issuer lookup
Closes #912
See merge request gnutls/gnutls!1725
Daiki Ueno [Mon, 13 Mar 2023 07:58:45 +0000 (16:58 +0900)]
pkcs11: respect Mozilla's time-based distrust upon issuer lookup
This implements the basic logic needed to support time-based distrust
of CA, according to [1].
1. https://wiki.mozilla.org/CA/Additional_Trust_Changes#Distrust_After
Signed-off-by: Daiki Ueno <ueno@gnu.org>
Daiki Ueno [Mon, 13 Mar 2023 14:04:04 +0000 (14:04 +0000)]
Merge branch 'master' into 'master'
add CRL issuer get test
See merge request gnutls/gnutls!1722
xuraoqing [Mon, 13 Mar 2023 14:04:03 +0000 (14:04 +0000)]
tests: add tests for CRL issuer get functions
Signed-off-by: xuraoqing <xuraoqing@huawei.com>
Daiki Ueno [Fri, 10 Mar 2023 23:37:08 +0000 (23:37 +0000)]
Merge branch '2023-fix-ktls-writes' into 'master'
ktls: Do not return GNUTLS_E_INTERRUPTED/AGAIN from short writes
Closes #1470
See merge request gnutls/gnutls!1723
Richard W.M. Jones [Fri, 10 Mar 2023 11:15:19 +0000 (11:15 +0000)]
ktls: Do not return GNUTLS_E_INTERRUPTED/AGAIN from short writes
If sendmsg returns a short write, we end up going around the loop with
data_to_send being smaller. However if sendmsg then returns -EAGAIN
or -EINTR then we return an error. But we have "forgotten" that we
already sent some data.
This causes the caller to retry gnutls_record_send with the full
buffer (ie. with a buffer that has already been partially sent),
causing desynchronization.
Instead check if we sent some data in this case and return the number
of bytes sent.
Fixes: https://gitlab.com/gnutls/gnutls/-/issues/1470
Thanks: Dan Berrange for suggesting a fix
Signed-off-by: Richard W.M. Jones <rjones@redhat.com>
Daiki Ueno [Thu, 9 Mar 2023 21:42:41 +0000 (21:42 +0000)]
Merge branch 'wip/dueno/ems' into 'master'
priority: add %FORCE_SESSION_HASH modifier
Closes #1445
See merge request gnutls/gnutls!1711
Daiki Ueno [Thu, 9 Mar 2023 05:09:14 +0000 (14:09 +0900)]
tests: skip TLS 1.2 resume tests without EMS under FIPS
In FIPS mode, extended master secret is required and those tests are
not supported.
Signed-off-by: Daiki Ueno <ueno@gnu.org>
Daiki Ueno [Sun, 5 Mar 2023 06:20:35 +0000 (15:20 +0900)]
tests: close unused peer socket in the tests using socketpair
Otherwise, the subsequent call to wait will block, when the child
process exits abnormally. Checked with the following script:
for i in $(git grep -l socketpair); do
if ! grep -q 'close.*\[' $i; then echo $i; fi
done
Signed-off-by: Daiki Ueno <ueno@gnu.org>
Daiki Ueno [Tue, 21 Feb 2023 06:35:37 +0000 (15:35 +0900)]
fips: enable %FORCE_SESSION_HASH by default under FIPS mode
Signed-off-by: Daiki Ueno <ueno@gnu.org>
Daiki Ueno [Tue, 21 Feb 2023 05:46:09 +0000 (14:46 +0900)]
priority: add %FORCE_SESSION_HASH modifier
This adds a new priority string modifier %FORCE_SESSION_HASH, which
requires to negotiate extended master secret and aborts the connection
if the peer does not send the extension in hello messages.
Signed-off-by: Daiki Ueno <ueno@gnu.org>
Daiki Ueno [Tue, 7 Mar 2023 05:34:56 +0000 (05:34 +0000)]
Merge branch 'master' into 'master'
add gnutls_pkcs7_get_signature_count test
See merge request gnutls/gnutls!1721
xuraoqing [Mon, 6 Mar 2023 06:42:16 +0000 (14:42 +0800)]
add gnutls_pkcs7_get_signature_count test
Signed-off-by: xuraoqing <xuraoqing@huawei.com>
Daiki Ueno [Thu, 2 Mar 2023 07:50:25 +0000 (07:50 +0000)]
Merge branch 'wip/dueno/ci-fedora37' into 'master'
.gitlab-ci.yml: switch to Fedora 37 images
See merge request gnutls/gnutls!1719
Daiki Ueno [Thu, 2 Mar 2023 04:24:22 +0000 (13:24 +0900)]
.gitlab-ci.yml: switch to Fedora 37 images
Signed-off-by: Daiki Ueno <ueno@gnu.org>
Daiki Ueno [Tue, 28 Feb 2023 08:52:10 +0000 (08:52 +0000)]
Merge branch 'master' into 'master'
remove unused extern variables
See merge request gnutls/gnutls!1718
Daiki Ueno [Tue, 28 Feb 2023 06:04:38 +0000 (06:04 +0000)]
Merge branch 'wip/dueno/perl-path' into 'master'
doc: Don't depend on /usr/bin/perl in the Makefile.am.
See merge request gnutls/gnutls!1717
Christopher Baines [Tue, 20 Sep 2022 09:33:45 +0000 (11:33 +0200)]
doc: Don't depend on /usr/bin/perl in the Makefile.am.
Instead, work if perl is on the $PATH. I hit this problem on GNU Guix
which doesn't use the /usr/bin directory.
Signed-off-by: Christopher Baines <mail@cbaines.net>
xuraoqing [Tue, 28 Feb 2023 03:40:11 +0000 (11:40 +0800)]
remove unused extern variables
Signed-off-by: xuraoqing <xuraoqing@huawei.com>
Daiki Ueno [Mon, 27 Feb 2023 14:59:38 +0000 (14:59 +0000)]
Merge branch 'PCT-DH-keygen' into 'master'
pk: extend pair-wise consistency to cover DH key generation
See merge request gnutls/gnutls!1707
Pedro Monreal [Thu, 16 Feb 2023 16:02:38 +0000 (17:02 +0100)]
pk: extend pair-wise consistency to cover DH key generation
Perform SP800 56A (rev 3) 5.6.2.1.4 Owner Assurance of Pair-wise
Consistency check, even if we only support ephemeral DH, as it is
required by FIPS 140-3 IG 10.3.A.
Signed-off-by: Pedro Monreal <pmgdeb@gmail.com>
Co-authored-by: Daiki Ueno <ueno@gnu.org>
Daiki Ueno [Mon, 27 Feb 2023 05:37:50 +0000 (05:37 +0000)]
Merge branch 'master' into 'master'
fix possible memory leakage
See merge request gnutls/gnutls!1714
xuraoqing [Mon, 27 Feb 2023 05:37:50 +0000 (05:37 +0000)]
gnutls-serv: fix possible memory leakage around realloc
Signed-off-by: xuraoqing <xuraoqing@huawei.com>
Daiki Ueno [Sat, 25 Feb 2023 08:22:51 +0000 (08:22 +0000)]
Merge branch 'wip/fix-typo-in-test' into 'master'
tests: fix typo in rsa-encrypt-decrypt
Closes #1452
See merge request gnutls/gnutls!1715
Radostin Stoyanov [Sat, 25 Feb 2023 01:16:38 +0000 (10:16 +0900)]
tests: fix typo in rsa-encrypt-decrypt
Signed-off-by: Radostin Stoyanov <radostin@redhat.com>
Daiki Ueno [Fri, 24 Feb 2023 22:02:48 +0000 (22:02 +0000)]
Merge branch 'ECC-full-pk-validation-ECDH' into 'master'
ecdh: perform SP800-56A rev3 full pubkey validation on key
See merge request gnutls/gnutls!1706
Pedro Monreal [Fri, 24 Feb 2023 22:02:48 +0000 (22:02 +0000)]
ecdh: perform SP800-56A rev3 full pubkey validation on key derivation
This implements full public key validation required in
SP800-56A rev3, section 5.6.2.3.3.
Co-authored-by: Daiki Ueno <ueno@gnu.org>
Signed-off-by: Pedro Monreal <pmgdeb@gmail.com>
Daiki Ueno [Thu, 23 Feb 2023 10:40:48 +0000 (10:40 +0000)]
Merge branch 'wip/dueno/ci-fixes' into 'master'
.gitmodules: revert to use full URLs for submodules
See merge request gnutls/gnutls!1713
Zoltán Fridrich [Thu, 23 Feb 2023 07:59:59 +0000 (07:59 +0000)]
Merge branch 'zfridric_devel' into 'master'
NEWS and release-steps update
See merge request gnutls/gnutls!1703
Daiki Ueno [Thu, 23 Feb 2023 01:41:41 +0000 (10:41 +0900)]
.gitmodules: revert to use full URLs for submodules
The previous attempt to use relative paths caused issues when the
repository is mirrored, requiring all the local submodules are
mirrored as well.
Signed-off-by: Daiki Ueno <ueno@gnu.org>
Zoltan Fridrich [Fri, 10 Feb 2023 10:32:43 +0000 (11:32 +0100)]
Update release steps
Signed-off-by: Zoltan Fridrich <zfridric@redhat.com>
Zoltan Fridrich [Fri, 10 Feb 2023 10:31:38 +0000 (11:31 +0100)]
Fix typo in NEWS
Signed-off-by: Zoltan Fridrich <zfridric@redhat.com>
Daiki Ueno [Wed, 22 Feb 2023 13:21:54 +0000 (13:21 +0000)]
Merge branch 'wip/dueno/ci-fixes2' into 'master'
.gitlab-ci.yml: simplify timestamp preservation
See merge request gnutls/gnutls!1712
Daiki Ueno [Tue, 21 Feb 2023 08:09:49 +0000 (17:09 +0900)]
.gitlab-ci.yml: simplify timestamp preservation
This simplifies commit
738b968271 to consolidate the logic into
default target.
Signed-off-by: Daiki Ueno <ueno@gnu.org>
Daiki Ueno [Tue, 21 Feb 2023 04:28:18 +0000 (04:28 +0000)]
Merge branch 'wip/dueno/gnulib-update' into 'master'
gnulib: update git submodule
See merge request gnutls/gnutls!1708
Daiki Ueno [Mon, 20 Feb 2023 00:36:00 +0000 (09:36 +0900)]
.gitlab-ci.yml: bump cache version
Signed-off-by: Daiki Ueno <ueno@gnu.org>
Daiki Ueno [Mon, 20 Feb 2023 08:35:38 +0000 (17:35 +0900)]
.gitlab-ci.yml: preserve timestamp around bootstrap
Signed-off-by: Daiki Ueno <ueno@gnu.org>
Daiki Ueno [Mon, 20 Feb 2023 00:49:32 +0000 (09:49 +0900)]
.gitlab-ci.yml: take advantage of git submodules in GitLab CI
GitLab CI has support for automatic checkout of submodules, though it
requires some modifications to .gitmodules:
https://docs.gitlab.com/ee/ci/git_submodules.html
Signed-off-by: Daiki Ueno <ueno@gnu.org>
Daiki Ueno [Fri, 17 Feb 2023 06:02:29 +0000 (15:02 +0900)]
.gitlab-ci.yml: use artifacts:untracked
The "artifacts:untracked" enables to efficiently archive build
artifacts:
https://docs.gitlab.com/ee/ci/yaml/#artifactsuntracked
Also copy files with bootstrap, as symlinks are excluded from the
artifacts.
Signed-off-by: Daiki Ueno <ueno@gnu.org>
Daiki Ueno [Fri, 17 Feb 2023 02:29:23 +0000 (11:29 +0900)]
gnulib: update git submodule
Signed-off-by: Daiki Ueno <ueno@gnu.org>
Daiki Ueno [Wed, 15 Feb 2023 09:16:22 +0000 (09:16 +0000)]
Merge branch 'master' into 'master'
fix possible out-of-bounds access
See merge request gnutls/gnutls!1699
Daiki Ueno [Mon, 13 Feb 2023 16:40:51 +0000 (16:40 +0000)]
Merge branch 'new-interop-tests' into 'master'
add new interop tests
See merge request gnutls/gnutls!1702
xuraoqing [Mon, 13 Feb 2023 03:32:34 +0000 (11:32 +0800)]
use xrealloc replace realloc in src/serv.c which just for test.
Signed-off-by: xuraoqing <609179072@qq.com>
Peter Leitmann [Thu, 9 Feb 2023 21:34:00 +0000 (22:34 +0100)]
add new interop tests
Signed-off-by: Peter Leitmann <pleitman@redhat.com>
Zoltán Fridrich [Thu, 9 Feb 2023 14:34:20 +0000 (14:34 +0000)]
Merge branch 'zfridric_devel2' into 'master'
Release 3.8.0
See merge request gnutls/gnutls!1701
Zoltan Fridrich [Thu, 9 Feb 2023 11:47:13 +0000 (12:47 +0100)]
Release 3.8.0
Signed-off-by: Zoltan Fridrich <zfridric@redhat.com>
xuraoqing [Tue, 7 Feb 2023 03:37:04 +0000 (11:37 +0800)]
fix possible out-of-bounds access
Signed-off-by: xuraoqing <609179072@qq.com>
Zoltán Fridrich [Wed, 8 Feb 2023 15:02:36 +0000 (15:02 +0000)]
Merge branch 'timing-leak-fix' into 'master'
auth/rsa: side-step potential side-channel
Closes #1050
See merge request gnutls/gnutls!1698
Hubert Kario [Wed, 8 Feb 2023 13:43:45 +0000 (14:43 +0100)]
document the CVE fix
Signed-off-by: Hubert Kario <hkario@redhat.com>
Hubert Kario [Wed, 8 Feb 2023 13:32:09 +0000 (14:32 +0100)]
rsa: remove dead code
since the `ok` variable isn't used any more, we can remove all code
used to calculate it
Signed-off-by: Hubert Kario <hkario@redhat.com>
Alexander Sosedkin [Tue, 9 Aug 2022 14:05:53 +0000 (16:05 +0200)]
auth/rsa: side-step potential side-channel
Remove branching that depends on secret data.
Signed-off-by: Alexander Sosedkin <asosedkin@redhat.com>
Signed-off-by: Hubert Kario <hkario@redhat.com>
Tested-by: Hubert Kario <hkario@redhat.com>
Zoltán Fridrich [Wed, 8 Feb 2023 11:18:25 +0000 (11:18 +0000)]
Merge branch 'master' into 'master'
remove inoperative variable
See merge request gnutls/gnutls!1697
xuraoqing [Tue, 7 Feb 2023 02:34:48 +0000 (10:34 +0800)]
remove inoperative variable
Signed-off-by: xuraoqing <609179072@qq.com>
Zoltán Fridrich [Mon, 6 Feb 2023 10:15:54 +0000 (10:15 +0000)]
Merge branch 'zfridric_devel2' into 'master'
Revert commit
f7160e4f
Closes #1446
See merge request gnutls/gnutls!1695
Zoltan Fridrich [Wed, 1 Feb 2023 12:29:34 +0000 (13:29 +0100)]
socket: set pull/push functions on windows
Signed-off-by: Zoltan Fridrich <zfridric@redhat.com>
Zoltán Fridrich [Wed, 1 Feb 2023 12:10:38 +0000 (12:10 +0000)]
Merge branch 'zfridric_devel3' into 'master'
Add compression dlls to mingw archive
Closes #1441
See merge request gnutls/gnutls!1694
Zoltan Fridrich [Wed, 1 Feb 2023 09:00:12 +0000 (10:00 +0100)]
Add missing dll to mingw archive
Signed-off-by: Zoltan Fridrich <zfridric@redhat.com>