]> git.ipfire.org Git - thirdparty/gnutls.git/log
thirdparty/gnutls.git
12 years agoAdded test program for RSA-PSK key exchange.
Nikos Mavrogiannopoulos [Fri, 30 Aug 2013 20:35:12 +0000 (23:35 +0300)] 
Added test program for RSA-PSK key exchange.

12 years agoOptimizations in RSA-PSK by removing unneeded code.
Nikos Mavrogiannopoulos [Fri, 30 Aug 2013 20:34:51 +0000 (23:34 +0300)] 
Optimizations in RSA-PSK by removing unneeded code.

12 years agoported patch for RSA-PSK
Frank Morgner [Sat, 29 Jun 2013 00:04:09 +0000 (02:04 +0200)] 
ported patch for RSA-PSK

revives some deletions from
a8504e254f6ff23200c6069961ab367c9cec43a0

original patch can be found in
e3c245b951530a92fc610a130faf167a37461073
f06ba1b71fa2cf9e1f3e33ea58cda94aaff88f20

12 years agoarcfour is restored in the top of the performance priority.
Nikos Mavrogiannopoulos [Fri, 30 Aug 2013 13:55:14 +0000 (16:55 +0300)] 
arcfour is restored in the top of the performance priority.

12 years agoremoved unused function
Nikos Mavrogiannopoulos [Thu, 29 Aug 2013 13:03:16 +0000 (16:03 +0300)] 
removed unused function

12 years agoAdded test to verify the correct operation of gnutls_certificate_server_set_request().
Nikos Mavrogiannopoulos [Thu, 29 Aug 2013 11:23:51 +0000 (14:23 +0300)] 
Added test to verify the correct operation of gnutls_certificate_server_set_request().

12 years agodoc update
Nikos Mavrogiannopoulos [Thu, 29 Aug 2013 11:06:56 +0000 (14:06 +0300)] 
doc update

12 years agoCorrected gnutls_certificate_server_set_request().
Nikos Mavrogiannopoulos [Thu, 29 Aug 2013 11:06:20 +0000 (14:06 +0300)] 
Corrected gnutls_certificate_server_set_request().

12 years agoSync with TP.
Nikos Mavrogiannopoulos [Tue, 27 Aug 2013 16:59:52 +0000 (19:59 +0300)] 
Sync with TP.

12 years agodoc update
Nikos Mavrogiannopoulos [Sun, 25 Aug 2013 09:22:07 +0000 (12:22 +0300)] 
doc update

12 years agoTry 3 resumption attempts and try also session db and ticket.
Nikos Mavrogiannopoulos [Sun, 25 Aug 2013 09:20:31 +0000 (12:20 +0300)] 
Try 3 resumption attempts and try also session db and ticket.

12 years agoonly register current session when not resuming
Nikos Mavrogiannopoulos [Sun, 25 Aug 2013 09:07:39 +0000 (12:07 +0300)] 
only register current session when not resuming

12 years agodo not duplicate tests for null.
Nikos Mavrogiannopoulos [Sun, 25 Aug 2013 09:00:18 +0000 (12:00 +0300)] 
do not duplicate tests for null.

12 years agoremove ifdefs for session tickets
Nikos Mavrogiannopoulos [Sun, 25 Aug 2013 08:42:00 +0000 (11:42 +0300)] 
remove ifdefs for session tickets

12 years agodoc update
Nikos Mavrogiannopoulos [Sat, 24 Aug 2013 22:44:33 +0000 (01:44 +0300)] 
doc update

12 years agoexport gnutls_record_set_timeout(). Reported by Nicolai Stange.
Nikos Mavrogiannopoulos [Sat, 24 Aug 2013 22:35:57 +0000 (01:35 +0300)] 
export gnutls_record_set_timeout(). Reported by Nicolai Stange.

12 years agoadd some RC4-128-SHA1 ciphersuites based on ECDH(E) key exchanges
Stefan Bühler [Sun, 18 Aug 2013 19:47:16 +0000 (21:47 +0200)] 
add some RC4-128-SHA1 ciphersuites based on ECDH(E) key exchanges

12 years agofix transport parameter casts in tests
Stefan Bühler [Sun, 18 Aug 2013 19:45:04 +0000 (21:45 +0200)] 
fix transport parameter casts in tests

12 years agoClean up after test.
Andreas Metzler [Sat, 24 Aug 2013 14:14:03 +0000 (16:14 +0200)] 
Clean up after test.

12 years agoCorrected access of temp file. Reported by Thomas Witt.
Nikos Mavrogiannopoulos [Sat, 24 Aug 2013 20:35:43 +0000 (23:35 +0300)] 
Corrected access of temp file. Reported by Thomas Witt.

12 years agoNo longer recommend the use of RC4
Nikos Mavrogiannopoulos [Sat, 24 Aug 2013 20:25:57 +0000 (23:25 +0300)] 
No longer recommend the use of RC4

12 years agoAES-GCM is preferred always
Nikos Mavrogiannopoulos [Sat, 24 Aug 2013 20:23:53 +0000 (23:23 +0300)] 
AES-GCM is preferred always

12 years agobumped version
Nikos Mavrogiannopoulos [Mon, 5 Aug 2013 13:23:06 +0000 (15:23 +0200)] 
bumped version

12 years agoincluded programs no longer depend on GPL/LGPLv3 elements of gnulib to prevent their...
Nikos Mavrogiannopoulos [Mon, 5 Aug 2013 12:56:22 +0000 (14:56 +0200)] 
included programs no longer depend on GPL/LGPLv3 elements of gnulib to prevent their accidental inclusion in the library.

12 years agomore files to ignore
Nikos Mavrogiannopoulos [Mon, 5 Aug 2013 12:40:35 +0000 (14:40 +0200)] 
more files to ignore

12 years agognulib only contains lgplv2 modules
Nikos Mavrogiannopoulos [Mon, 5 Aug 2013 12:36:59 +0000 (14:36 +0200)] 
gnulib only contains lgplv2 modules

12 years agoSync with TP.
Nikos Mavrogiannopoulos [Mon, 5 Aug 2013 06:28:25 +0000 (08:28 +0200)] 
Sync with TP.

12 years agoremoved unused code
Nikos Mavrogiannopoulos [Sat, 3 Aug 2013 19:44:40 +0000 (21:44 +0200)] 
removed unused code

12 years agoDo not try to parse arbitrary objects as certificates.
Nikos Mavrogiannopoulos [Sat, 3 Aug 2013 18:02:25 +0000 (20:02 +0200)] 
Do not try to parse arbitrary objects as certificates.

12 years agodon't ignore errors when copying resumption values
Nikos Mavrogiannopoulos [Sat, 3 Aug 2013 17:56:54 +0000 (19:56 +0200)] 
don't ignore errors when copying resumption values

12 years agomention that new padding is currently a gnutls extension
Nikos Mavrogiannopoulos [Sat, 3 Aug 2013 07:41:41 +0000 (09:41 +0200)] 
mention that new padding is currently a gnutls extension

12 years agodo not require localtime
Nikos Mavrogiannopoulos [Sat, 3 Aug 2013 07:36:39 +0000 (09:36 +0200)] 
do not require localtime

12 years agoadded mkdir
Nikos Mavrogiannopoulos [Sat, 3 Aug 2013 07:08:00 +0000 (09:08 +0200)] 
added mkdir

12 years agoinverse check for cipher ok and priority.
Nikos Mavrogiannopoulos [Fri, 2 Aug 2013 06:47:50 +0000 (08:47 +0200)] 
inverse check for cipher ok and priority.

12 years agodocumented parameters
Nikos Mavrogiannopoulos [Thu, 1 Aug 2013 15:42:54 +0000 (17:42 +0200)] 
documented parameters

12 years agono need to keep separate priority lists for export ciphersuites (they are no longer...
Nikos Mavrogiannopoulos [Wed, 31 Jul 2013 19:45:54 +0000 (21:45 +0200)] 
no need to keep separate priority lists for export ciphersuites (they are no longer available).

12 years agoAdded the PFS priority string option.
Nikos Mavrogiannopoulos [Wed, 31 Jul 2013 19:44:04 +0000 (21:44 +0200)] 
Added the PFS priority string option.

12 years agoreleased 3.2.3 gnutls_3_2_3
Nikos Mavrogiannopoulos [Tue, 30 Jul 2013 06:48:11 +0000 (08:48 +0200)] 
released 3.2.3

12 years agodoc update
Nikos Mavrogiannopoulos [Mon, 29 Jul 2013 21:55:42 +0000 (23:55 +0200)] 
doc update

12 years agoallow empty fragments with padding.
Nikos Mavrogiannopoulos [Mon, 29 Jul 2013 21:51:51 +0000 (23:51 +0200)] 
allow empty fragments with padding.

12 years agocorrected test
Nikos Mavrogiannopoulos [Mon, 29 Jul 2013 21:50:51 +0000 (23:50 +0200)] 
corrected test

12 years agoAdded test for the range functionality.
Nikos Mavrogiannopoulos [Mon, 29 Jul 2013 21:46:05 +0000 (23:46 +0200)] 
Added test for the range functionality.

12 years agocorrected overhead calculation in AEAD ciphers.
Nikos Mavrogiannopoulos [Mon, 29 Jul 2013 14:22:16 +0000 (16:22 +0200)] 
corrected overhead calculation in AEAD ciphers.

12 years agoCorrectly report unicode status in win32 API
Nikos Mavrogiannopoulos [Mon, 29 Jul 2013 07:55:42 +0000 (09:55 +0200)] 
Correctly report unicode status in win32 API

12 years agocorrectly link with librt when needed.
Nikos Mavrogiannopoulos [Mon, 29 Jul 2013 07:53:17 +0000 (09:53 +0200)] 
correctly link with librt when needed.

12 years agolink with libiconv when needed.
Nikos Mavrogiannopoulos [Mon, 29 Jul 2013 07:52:43 +0000 (09:52 +0200)] 
link with libiconv when needed.

12 years agodoc update gnutls_3_2_3pre0
Nikos Mavrogiannopoulos [Sun, 28 Jul 2013 22:23:51 +0000 (00:23 +0200)] 
doc update

12 years agoRemoved LGPLv3 gnulib components.
Nikos Mavrogiannopoulos [Sun, 28 Jul 2013 22:13:37 +0000 (00:13 +0200)] 
Removed LGPLv3 gnulib components.

This removes the gnulib iconv, and uses libc or libiconv if needed.

12 years agoreleased 3.2.3pre0
Nikos Mavrogiannopoulos [Sun, 28 Jul 2013 21:57:47 +0000 (23:57 +0200)] 
released 3.2.3pre0

12 years agoAdded new functions
Nikos Mavrogiannopoulos [Sun, 28 Jul 2013 21:53:19 +0000 (23:53 +0200)] 
Added new functions

12 years agobumped version
Nikos Mavrogiannopoulos [Sun, 28 Jul 2013 21:52:29 +0000 (23:52 +0200)] 
bumped version

12 years agouse common macros to calculate the overhead.
Nikos Mavrogiannopoulos [Sun, 28 Jul 2013 09:05:00 +0000 (11:05 +0200)] 
use common macros to calculate the overhead.

12 years agoThe after handshake function is now called before epoch change.
Nikos Mavrogiannopoulos [Sun, 28 Jul 2013 07:47:23 +0000 (09:47 +0200)] 
The after handshake function is now called before epoch change.

This allows enabling certain features, such as the new record padding, prior to exchanging finished messages.

12 years agotest sending and receiving the maximum allowed TLS buffer size.
Nikos Mavrogiannopoulos [Sun, 28 Jul 2013 07:22:00 +0000 (09:22 +0200)] 
test sending and receiving the maximum allowed TLS buffer size.

12 years agocorrected guile-site-dir option. Patch by Steve Erhart.
Nikos Mavrogiannopoulos [Sun, 28 Jul 2013 07:06:45 +0000 (09:06 +0200)] 
corrected guile-site-dir option. Patch by Steve Erhart.

12 years agoDo not count pad and MAC as received data.
Nikos Mavrogiannopoulos [Sat, 27 Jul 2013 11:24:42 +0000 (13:24 +0200)] 
Do not count pad and MAC as received data.

12 years agosimplified decrypted data allocation.
Nikos Mavrogiannopoulos [Fri, 26 Jul 2013 18:10:55 +0000 (20:10 +0200)] 
simplified decrypted data allocation.

12 years agodoc update
Nikos Mavrogiannopoulos [Fri, 26 Jul 2013 16:12:59 +0000 (18:12 +0200)] 
doc update

12 years agosmall optimizations.
Nikos Mavrogiannopoulos [Fri, 26 Jul 2013 15:11:43 +0000 (17:11 +0200)] 
small optimizations.

12 years agoWhen in compatibility mode allow for larger record sizes than the maximum.
Nikos Mavrogiannopoulos [Fri, 26 Jul 2013 15:08:19 +0000 (17:08 +0200)] 
When in compatibility mode allow for larger record sizes than the maximum.

12 years agoUpdated mini test.
Nikos Mavrogiannopoulos [Fri, 26 Jul 2013 04:50:17 +0000 (06:50 +0200)] 
Updated mini test.

12 years agoApplied Bruce Korb's fix on unacceptable chars.
Nikos Mavrogiannopoulos [Thu, 25 Jul 2013 21:14:20 +0000 (23:14 +0200)] 
Applied Bruce Korb's fix on unacceptable chars.

12 years agoRevert "Ignore non-ascii characters in configuration file."
Nikos Mavrogiannopoulos [Thu, 25 Jul 2013 21:14:08 +0000 (23:14 +0200)] 
Revert "Ignore non-ascii characters in configuration file."

This reverts commit b973840f5dff9924108af9574bdee1064e06fb88.

12 years agotest also the number of ciphers.
Nikos Mavrogiannopoulos [Thu, 25 Jul 2013 11:42:31 +0000 (13:42 +0200)] 
test also the number of ciphers.

12 years agoAdded helper functions to export the available ciphers in a priority structure
Nikos Mavrogiannopoulos [Thu, 25 Jul 2013 11:36:46 +0000 (13:36 +0200)] 
Added helper functions to export the available ciphers in a priority structure

12 years agodoc update
Nikos Mavrogiannopoulos [Thu, 25 Jul 2013 11:30:12 +0000 (13:30 +0200)] 
doc update

12 years agoAdded a test that checks whether the priorities behave as expected (depends on the...
Nikos Mavrogiannopoulos [Thu, 25 Jul 2013 11:28:08 +0000 (13:28 +0200)] 
Added a test that checks whether the priorities behave as expected (depends on the supported ciphersuite numbers)

12 years agoWhen adding a bulk of priorities make sure they don't replace the whole list. Reporte...
Nikos Mavrogiannopoulos [Thu, 25 Jul 2013 11:27:52 +0000 (13:27 +0200)] 
When adding a bulk of priorities make sure they don't replace the whole list. Reported by Stefan Buehler.

12 years agodoc update
Nikos Mavrogiannopoulos [Thu, 25 Jul 2013 10:16:45 +0000 (12:16 +0200)] 
doc update

12 years agoupdated doc
Nikos Mavrogiannopoulos [Thu, 25 Jul 2013 10:15:20 +0000 (12:15 +0200)] 
updated doc

12 years agoIgnore non-ascii characters in configuration file.
Nikos Mavrogiannopoulos [Wed, 24 Jul 2013 05:15:10 +0000 (07:15 +0200)] 
Ignore non-ascii characters in configuration file.

This is a quick fix for http://lists.infradead.org/pipermail/openconnect-devel/2013-July/001126.html

12 years agomake sure that the .info files are as new as the pdfs and html.
Nikos Mavrogiannopoulos [Tue, 23 Jul 2013 21:06:16 +0000 (23:06 +0200)] 
make sure that the .info files are as new as the pdfs and html.

12 years agoX.509 server example updated to include OCSP stapling
Nikos Mavrogiannopoulos [Fri, 19 Jul 2013 18:42:14 +0000 (20:42 +0200)] 
X.509 server example updated to include OCSP stapling

12 years agoavoid leaking a buffer element when _gnutls_stream_read returns 0
Matt Whitlock [Tue, 16 Jul 2013 11:24:10 +0000 (07:24 -0400)] 
avoid leaking a buffer element when _gnutls_stream_read returns 0

12 years agodoc update
Nikos Mavrogiannopoulos [Fri, 19 Jul 2013 08:44:16 +0000 (10:44 +0200)] 
doc update

12 years agognutls priority string parsing bug fix
Stefan Bühler [Wed, 17 Jul 2013 21:51:51 +0000 (23:51 +0200)] 
gnutls priority string parsing bug fix

Fix priority string parsing (example: "NONE:+MAC-ALL:-SHA1:+SHA1" misses SHA1 and has MD5 twice)

prio_remove doesn't zero the removed element, prio_add (and perhaps
other functions) assumes the list to be zero terminated.

Make prio_remove zero the element at the end, and use the actual length
of the list in prio_add.

Relying on the trailing zero will fail if the list is full, and might
lead to invalid memory accesses as the loop won't stop until it finds
either the algorithm identifier or 0.

12 years agoDisable tests that use socketpair on _WIN32.
Adam Sampson [Wed, 17 Jul 2013 12:44:03 +0000 (13:44 +0100)] 
Disable tests that use socketpair on _WIN32.

socketpair isn't provided on Windows, so these tests should just exit
77.

Note that resume-dtls.c already had a guard like this -- I've rewritten
it to match the others, but socketpair (presumably!) isn't the only
reason that test is disabled on Win32.

Signed-off-by: Adam Sampson <ats@offog.org>
12 years agoUse socketpair() rather than TCP connections.
Adam Sampson [Tue, 16 Jul 2013 15:22:37 +0000 (16:22 +0100)] 
Use socketpair() rather than TCP connections.

Besides simplifying the code, this also makes it possible to run "make check"
in parallel -- previously this didn't work because several tests were trying to
bind the same port.

Signed-off-by: Adam Sampson <ats@offog.org>
12 years agoDetect socket() error responses correctly.
Adam Sampson [Tue, 16 Jul 2013 14:16:22 +0000 (15:16 +0100)] 
Detect socket() error responses correctly.

The code was testing the wrong variable...

Signed-off-by: Adam Sampson <ats@offog.org>
12 years agoAvoid depending on hash order in gdoc.
Adam Sampson [Tue, 16 Jul 2013 13:17:18 +0000 (14:17 +0100)] 
Avoid depending on hash order in gdoc.

Previously, gdoc had a hash of regexp replacements for each output
format, and applied the replacements in the order that "keys" returned
for the hash. However, not all orders are safe -- and now that Perl 5.18
randomises hash order per-process, it only worked sometimes!

For example, this order is OK:

'is a #gnutls_session_t structure.'
'\@([A-Za-z0-9_]+)\s*' -> 'is a #gnutls_session_t structure.'
'\%([A-Za-z0-9_]+)' -> 'is a #gnutls_session_t structure.'
'\#([A-Za-z0-9_]+)' -> 'is a @code{gnutls_session_t}  structure.'
'([A-Za-z0-9_]+\(\))' -> 'is a @code{gnutls_session_t}  structure.'

This one, however, winds up producing invalid texinfo:

'is a #gnutls_session_t structure.'
'\%([A-Za-z0-9_]+)' -> 'is a #gnutls_session_t structure.'
'([A-Za-z0-9_]+\(\))' -> 'is a #gnutls_session_t structure.'
'\#([A-Za-z0-9_]+)' -> 'is a @code{gnutls_session_t}  structure.'
'\@([A-Za-z0-9_]+)\s*' -> 'is a  @code{code} {gnutls_session_t}  structure.'

This patch turns the hash into a list, so the replacements will always
be done in the intended order.

Signed-off-by: Adam Sampson <ats@offog.org>
12 years agoRun DTLS tests under reliable transports to avoid unexpected packet loss.
Nikos Mavrogiannopoulos [Mon, 15 Jul 2013 17:36:16 +0000 (19:36 +0200)] 
Run DTLS tests under reliable transports to avoid unexpected packet loss.

12 years agoLink with librt when needed. Reported by Joern Clausen.
Nikos Mavrogiannopoulos [Mon, 15 Jul 2013 09:55:37 +0000 (11:55 +0200)] 
Link with librt when needed. Reported by Joern Clausen.

12 years agoeliminated the need for the additional version variable.
Nikos Mavrogiannopoulos [Mon, 15 Jul 2013 09:51:51 +0000 (11:51 +0200)] 
eliminated the need for the additional version variable.

12 years agoupdated w32 makefile
Nikos Mavrogiannopoulos [Sun, 14 Jul 2013 11:53:36 +0000 (13:53 +0200)] 
updated w32 makefile

12 years agoupdated gnulib
Nikos Mavrogiannopoulos [Sun, 14 Jul 2013 11:52:58 +0000 (13:52 +0200)] 
updated gnulib

12 years agoreleased 3.2.2 gnutls_3_2_2
Nikos Mavrogiannopoulos [Sun, 14 Jul 2013 08:59:08 +0000 (10:59 +0200)] 
released 3.2.2

12 years agodoc update
Nikos Mavrogiannopoulos [Sat, 13 Jul 2013 10:27:13 +0000 (12:27 +0200)] 
doc update

12 years agotypo fix
Nikos Mavrogiannopoulos [Sat, 13 Jul 2013 10:20:13 +0000 (12:20 +0200)] 
typo fix

12 years agognutls-cli -l prints the supported digest algorithms as well.
Nikos Mavrogiannopoulos [Sat, 13 Jul 2013 10:04:01 +0000 (12:04 +0200)] 
gnutls-cli -l prints the supported digest algorithms as well.

12 years agocorrected return value.
Nikos Mavrogiannopoulos [Sat, 13 Jul 2013 10:00:47 +0000 (12:00 +0200)] 
corrected return value.

12 years agoCheck for nanosleep in librt, when not in libc. Reported by Joern Clausen.
Nikos Mavrogiannopoulos [Sat, 13 Jul 2013 08:59:04 +0000 (10:59 +0200)] 
Check for nanosleep in librt, when not in libc. Reported by Joern Clausen.

12 years agocorrected typo
Nikos Mavrogiannopoulos [Fri, 12 Jul 2013 18:35:05 +0000 (20:35 +0200)] 
corrected typo

12 years agoupdated
Nikos Mavrogiannopoulos [Fri, 12 Jul 2013 14:55:26 +0000 (16:55 +0200)] 
updated

13 years agotry to reduce memory in internal structure
Nikos Mavrogiannopoulos [Thu, 11 Jul 2013 21:29:34 +0000 (23:29 +0200)] 
try to reduce memory in internal structure

13 years agoAllow hooks to be called before or after generation/receiving.
Nikos Mavrogiannopoulos [Thu, 11 Jul 2013 21:03:35 +0000 (23:03 +0200)] 
Allow hooks to be called before or after generation/receiving.

13 years agoRevert "simplified hook function, to apply only to post-processing or generation...
Nikos Mavrogiannopoulos [Thu, 11 Jul 2013 20:53:34 +0000 (22:53 +0200)] 
Revert "simplified hook function, to apply only to post-processing or generation of messages."

This reverts commit 7b14a8217b78aaf3367d13181237bf937292f5ba.

13 years agodoc update
Nikos Mavrogiannopoulos [Thu, 11 Jul 2013 20:50:07 +0000 (22:50 +0200)] 
doc update

13 years agoEliminate reset from cryptodev hashes and mac
Gustavo Zacarias [Wed, 10 Jul 2013 20:26:19 +0000 (17:26 -0300)] 
Eliminate reset from cryptodev hashes and mac

It wasn't done in 73ec74c2 and 6f0ecbf4 for cryptodev causing build
failures.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
13 years agodoc update
Nikos Mavrogiannopoulos [Wed, 10 Jul 2013 10:17:07 +0000 (12:17 +0200)] 
doc update

13 years agodoc update
Nikos Mavrogiannopoulos [Wed, 10 Jul 2013 10:13:06 +0000 (12:13 +0200)] 
doc update