]> git.ipfire.org Git - thirdparty/gnutls.git/log
thirdparty/gnutls.git
16 years agoNeed another header.
Simon Josefsson [Mon, 31 Aug 2009 13:11:17 +0000 (15:11 +0200)] 
Need another header.

16 years agoAdd.
Simon Josefsson [Mon, 31 Aug 2009 13:05:43 +0000 (15:05 +0200)] 
Add.

16 years agoAdd comment explaining where magic values come from.
Simon Josefsson [Mon, 31 Aug 2009 13:02:48 +0000 (15:02 +0200)] 
Add comment explaining where magic values come from.

16 years agoFix parsing Certificate Request for TLS 1.2.
Daiki Ueno [Mon, 31 Aug 2009 05:48:12 +0000 (14:48 +0900)] 
Fix parsing Certificate Request for TLS 1.2.

Fix the logic to skip supported_signature_algorithms in Certificate
Request.

Signed-off-by: Simon Josefsson <simon@josefsson.org>
16 years agoUse SHA256 for PRF if TLS 1.2.
Daiki Ueno [Mon, 31 Aug 2009 05:44:51 +0000 (14:44 +0900)] 
Use SHA256 for PRF if TLS 1.2.

Use SHA256 for the basis of PRF, and for the hash over handshake messages.

Signed-off-by: Simon Josefsson <simon@josefsson.org>
16 years agoRespect TLS signature algorithm in server KX.
Daiki Ueno [Mon, 31 Aug 2009 05:40:38 +0000 (14:40 +0900)] 
Respect TLS signature algorithm in server KX.

Verify signature of DH parameters in Server Key Exchange with the
embedded signature algorithm.

Signed-off-by: Simon Josefsson <simon@josefsson.org>
16 years agoAdd functions for TLS signature algorithm.
Daiki Ueno [Mon, 31 Aug 2009 05:34:01 +0000 (14:34 +0900)] 
Add functions for TLS signature algorithm.

Add functions to convert TLS signature algorithm from/to constants
defined by GnuTLS.

Signed-off-by: Simon Josefsson <simon@josefsson.org>
16 years agoAdd.
Simon Josefsson [Mon, 31 Aug 2009 11:23:47 +0000 (13:23 +0200)] 
Add.

16 years agoUpdate gnulib files.
Simon Josefsson [Mon, 31 Aug 2009 11:03:08 +0000 (13:03 +0200)] 
Update gnulib files.

16 years agoAdd.
Simon Josefsson [Mon, 31 Aug 2009 10:51:06 +0000 (12:51 +0200)] 
Add.

16 years agoRemove dead store in listen_socket().
Fabian Keil [Tue, 25 Aug 2009 16:42:17 +0000 (18:42 +0200)] 
Remove dead store in listen_socket().

Signed-off-by: Simon Josefsson <simon@josefsson.org>
16 years agoRemove dead store in _gnutls_io_write_buffered().
Fabian Keil [Tue, 25 Aug 2009 16:39:41 +0000 (18:39 +0200)] 
Remove dead store in _gnutls_io_write_buffered().

Signed-off-by: Simon Josefsson <simon@josefsson.org>
16 years agoRemove dead store in gnutls_x509_crt_list_import().
Fabian Keil [Mon, 24 Aug 2009 18:08:35 +0000 (20:08 +0200)] 
Remove dead store in gnutls_x509_crt_list_import().

Signed-off-by: Simon Josefsson <simon@josefsson.org>
16 years agoRemove dead store in pwd_put_values().
Fabian Keil [Mon, 24 Aug 2009 17:33:09 +0000 (19:33 +0200)] 
Remove dead store in pwd_put_values().

Signed-off-by: Simon Josefsson <simon@josefsson.org>
16 years agoRemove dead store in pkcs12_info().
Fabian Keil [Mon, 24 Aug 2009 17:30:49 +0000 (19:30 +0200)] 
Remove dead store in pkcs12_info().

Signed-off-by: Simon Josefsson <simon@josefsson.org>
16 years agoRemove write-only variable info in _gnutls_proc_cert_cert_req().
Fabian Keil [Tue, 25 Aug 2009 16:50:58 +0000 (18:50 +0200)] 
Remove write-only variable info in _gnutls_proc_cert_cert_req().

Signed-off-by: Simon Josefsson <simon@josefsson.org>
16 years agoRemove write-only variable info in gen_rsa_export_server_kx().
Fabian Keil [Tue, 25 Aug 2009 16:48:41 +0000 (18:48 +0200)] 
Remove write-only variable info in gen_rsa_export_server_kx().

Signed-off-by: Simon Josefsson <simon@josefsson.org>
16 years agoRemove write-only variable sep_ar_idx in split_multi_arg().
Fabian Keil [Tue, 25 Aug 2009 16:44:25 +0000 (18:44 +0200)] 
Remove write-only variable sep_ar_idx in split_multi_arg().

Signed-off-by: Simon Josefsson <simon@josefsson.org>
16 years agoRemove write-only variable tmp_size in _pkcs12_decode_safe_content().
Fabian Keil [Mon, 24 Aug 2009 18:12:29 +0000 (20:12 +0200)] 
Remove write-only variable tmp_size in _pkcs12_decode_safe_content().

Signed-off-by: Simon Josefsson <simon@josefsson.org>
16 years agoRemove duplicates. Two exact ones and a pretty close one.
Fabian Keil [Sat, 29 Aug 2009 09:47:29 +0000 (11:47 +0200)] 
Remove duplicates. Two exact ones and a pretty close one.

Signed-off-by: Simon Josefsson <simon@josefsson.org>
16 years agoMark what looks like a bug in in _gnutls_srp_pwd_read_entry()
Fabian Keil [Tue, 25 Aug 2009 16:15:35 +0000 (18:15 +0200)] 
Mark what looks like a bug in in _gnutls_srp_pwd_read_entry()

Signed-off-by: Simon Josefsson <simon@josefsson.org>
16 years agoIn main(), rename salt to salt_size and don't bother reading info.salt which we don...
Fabian Keil [Mon, 24 Aug 2009 18:16:11 +0000 (20:16 +0200)] 
In main(), rename salt to salt_size and don't bother reading info.salt which we don't use anyway.

Signed-off-by: Simon Josefsson <simon@josefsson.org>
16 years ago(cdk_strlist_next): Handle NULL root value better.
Simon Josefsson [Mon, 31 Aug 2009 10:32:23 +0000 (12:32 +0200)] 
(cdk_strlist_next): Handle NULL root value better.
Based on report by Fabian Keil <fk@fabiankeil.de>.

16 years agoIn print_extensions(), declare the *_idx variables as int instead of size_t.
Fabian Keil [Mon, 24 Aug 2009 17:09:22 +0000 (19:09 +0200)] 
In print_extensions(), declare the *_idx variables as int instead of size_t.

While it shouldn't make a difference, it makes more sense to me.
It's also consistent with (at least) print_crl().

Signed-off-by: Simon Josefsson <simon@josefsson.org>
16 years agoIn print_extensions(), initialize *_idx variables once before entering the for loop...
Fabian Keil [Mon, 24 Aug 2009 17:06:43 +0000 (19:06 +0200)] 
In print_extensions(), initialize *_idx variables once before entering the for loop instead of each run.

Otherwise checking them is pointless as they always will be zero.

Signed-off-by: Simon Josefsson <simon@josefsson.org>
16 years agoIn print_crq(), initialize challenge and extensions once before entering the for...
Fabian Keil [Mon, 24 Aug 2009 17:19:41 +0000 (19:19 +0200)] 
In print_crq(), initialize challenge and extensions once before entering the for loop instead of each run.

Signed-off-by: Simon Josefsson <simon@josefsson.org>
16 years agoIn print_crl(), initialize aki_idx and crl_nr once before entering the for loop inste...
Fabian Keil [Mon, 24 Aug 2009 16:59:13 +0000 (18:59 +0200)] 
In print_crl(), initialize aki_idx and crl_nr once before entering the for loop instead of each run.

Otherwise the "error: more than one AKI extension\n" and
"error: more than one CRL number\n" checks want work.

Signed-off-by: Simon Josefsson <simon@josefsson.org>
16 years agoLikewise.
Simon Josefsson [Fri, 28 Aug 2009 16:17:38 +0000 (18:17 +0200)] 
Likewise.

16 years agoDon't use deprecated type.
Simon Josefsson [Fri, 28 Aug 2009 16:15:40 +0000 (18:15 +0200)] 
Don't use deprecated type.

16 years agoOverwrite gettext's size_max.m4 to make sure we use one that works.
Simon Josefsson [Fri, 28 Aug 2009 16:03:29 +0000 (18:03 +0200)] 
Overwrite gettext's size_max.m4 to make sure we use one that works.

16 years agoUpdate gnulib files.
Simon Josefsson [Fri, 28 Aug 2009 15:55:23 +0000 (17:55 +0200)] 
Update gnulib files.

16 years agoFix use of deprecated types, for now and the future.
Simon Josefsson [Fri, 28 Aug 2009 13:22:03 +0000 (15:22 +0200)] 
Fix use of deprecated types, for now and the future.

16 years agoAdd.
Simon Josefsson [Fri, 28 Aug 2009 13:14:13 +0000 (15:14 +0200)] 
Add.

16 years agoFix gnutls_datum usage.
Simon Josefsson [Fri, 28 Aug 2009 13:03:19 +0000 (15:03 +0200)] 
Fix gnutls_datum usage.

16 years agoFix deprecated usage of gnutls_datum.
Simon Josefsson [Fri, 28 Aug 2009 13:01:18 +0000 (15:01 +0200)] 
Fix deprecated usage of gnutls_datum.

16 years agoFix compiler warning bugs for OpenWatcom.
Dan Fandrich [Fri, 28 Aug 2009 00:02:17 +0000 (17:02 -0700)] 
Fix compiler warning bugs for OpenWatcom.

Signed-off-by: Simon Josefsson <simon@josefsson.org>
16 years agoFix double-free
Daiki Ueno [Mon, 24 Aug 2009 21:46:38 +0000 (06:46 +0900)] 
Fix double-free

Signed-off-by: Simon Josefsson <simon@josefsson.org>
16 years agoDisable whitespace for file that need it.
Simon Josefsson [Mon, 24 Aug 2009 21:16:49 +0000 (23:16 +0200)] 
Disable whitespace for file that need it.

16 years agoAdd check of OpenPGP cert too.
Simon Josefsson [Thu, 20 Aug 2009 17:00:06 +0000 (19:00 +0200)] 
Add check of OpenPGP cert too.

16 years agoAdd.
Simon Josefsson [Thu, 20 Aug 2009 13:43:09 +0000 (15:43 +0200)] 
Add.

16 years agoWork around whitespace commit hook.
Simon Josefsson [Thu, 20 Aug 2009 13:37:54 +0000 (15:37 +0200)] 
Work around whitespace commit hook.

16 years agoUpdate gnulib files.
Simon Josefsson [Thu, 20 Aug 2009 13:37:05 +0000 (15:37 +0200)] 
Update gnulib files.

16 years agoReduce stack usage and remove code.
Simon Josefsson [Thu, 20 Aug 2009 13:35:32 +0000 (15:35 +0200)] 
Reduce stack usage and remove code.

16 years agoRemove unused constant.
Simon Josefsson [Thu, 20 Aug 2009 10:41:42 +0000 (12:41 +0200)] 
Remove unused constant.

16 years agoReduce stack usage.
Simon Josefsson [Thu, 20 Aug 2009 10:40:58 +0000 (12:40 +0200)] 
Reduce stack usage.

16 years agoFix OpenPGP hostname comparison.
Simon Josefsson [Thu, 20 Aug 2009 10:21:09 +0000 (12:21 +0200)] 
Fix OpenPGP hostname comparison.

16 years agoReduce stack usage.
Simon Josefsson [Thu, 20 Aug 2009 10:15:21 +0000 (12:15 +0200)] 
Reduce stack usage.

16 years agoReduce stack usage.
Simon Josefsson [Thu, 20 Aug 2009 09:39:10 +0000 (11:39 +0200)] 
Reduce stack usage.

16 years agoFix syntax-check nits.
Simon Josefsson [Thu, 20 Aug 2009 08:35:01 +0000 (10:35 +0200)] 
Fix syntax-check nits.

16 years agoFix memleaks.
Daiki Ueno [Thu, 20 Aug 2009 01:33:00 +0000 (10:33 +0900)] 
Fix memleaks.

Signed-off-by: Simon Josefsson <simon@josefsson.org>
16 years agoBump versions.
Simon Josefsson [Wed, 19 Aug 2009 21:30:13 +0000 (23:30 +0200)] 
Bump versions.

16 years agoFix references.
Simon Josefsson [Wed, 19 Aug 2009 21:26:42 +0000 (23:26 +0200)] 
Fix references.

16 years agoAlso commit devel/ web pages.
Simon Josefsson [Wed, 19 Aug 2009 21:11:59 +0000 (23:11 +0200)] 
Also commit devel/ web pages.

16 years agoFix ChangeLog.
Simon Josefsson [Wed, 19 Aug 2009 21:07:56 +0000 (23:07 +0200)] 
Fix ChangeLog.

16 years agoGenerated. gnutls_2_9_3
Simon Josefsson [Wed, 19 Aug 2009 21:00:44 +0000 (23:00 +0200)] 
Generated.

16 years agoVersion 2.9.3.
Simon Josefsson [Wed, 19 Aug 2009 20:50:45 +0000 (22:50 +0200)] 
Version 2.9.3.

16 years agoTypo.
Simon Josefsson [Wed, 19 Aug 2009 14:08:59 +0000 (16:08 +0200)] 
Typo.

16 years agoNeed gnutls_algorithms.h for prototypes.
Simon Josefsson [Wed, 19 Aug 2009 14:06:35 +0000 (16:06 +0200)] 
Need gnutls_algorithms.h for prototypes.

16 years agoAdd.
Simon Josefsson [Wed, 19 Aug 2009 14:04:22 +0000 (16:04 +0200)] 
Add.

16 years agoReplace explicit version checks with feature checks
Jonathan Bastien-Filiatrault [Wed, 19 Aug 2009 02:55:30 +0000 (22:55 -0400)] 
Replace explicit version checks with feature checks

Signed-off-by: Simon Josefsson <simon@josefsson.org>
16 years agoReformat paragraphs.
Simon Josefsson [Wed, 19 Aug 2009 13:33:32 +0000 (15:33 +0200)] 
Reformat paragraphs.

16 years agoGenerated.
Simon Josefsson [Wed, 19 Aug 2009 13:30:27 +0000 (15:30 +0200)] 
Generated.

16 years agoTypo.
Simon Josefsson [Wed, 19 Aug 2009 13:30:08 +0000 (15:30 +0200)] 
Typo.

16 years agoAdd cross reference.
Simon Josefsson [Wed, 19 Aug 2009 13:12:40 +0000 (15:12 +0200)] 
Add cross reference.

16 years agoAdd.
Simon Josefsson [Wed, 19 Aug 2009 13:11:06 +0000 (15:11 +0200)] 
Add.

16 years agoFix GTK-DOC output.
Simon Josefsson [Wed, 19 Aug 2009 13:03:02 +0000 (15:03 +0200)] 
Fix GTK-DOC output.

16 years agoAdd.
Simon Josefsson [Wed, 19 Aug 2009 13:01:59 +0000 (15:01 +0200)] 
Add.

16 years agoFix namespace of new APIs.
Simon Josefsson [Wed, 19 Aug 2009 12:58:40 +0000 (14:58 +0200)] 
Fix namespace of new APIs.

16 years agoFix whitespace.
Simon Josefsson [Wed, 19 Aug 2009 12:56:13 +0000 (14:56 +0200)] 
Fix whitespace.

16 years agosession ticket support
Daiki Ueno [Wed, 19 Aug 2009 07:53:07 +0000 (16:53 +0900)] 
session ticket support

Signed-off-by: Simon Josefsson <simon@josefsson.org>
16 years agoFix indent rule.
Simon Josefsson [Wed, 19 Aug 2009 12:37:55 +0000 (14:37 +0200)] 
Fix indent rule.

16 years agointernals doc update
Daiki Ueno [Wed, 19 Aug 2009 11:09:23 +0000 (20:09 +0900)] 
internals doc update

Hi,

When I wrote SessionTicket extension I referred to the manual node
"Adding a New TLS Extension", and noticed that it is not up to date.
So, here is a patch.

Signed-off-by: Simon Josefsson <simon@josefsson.org>
16 years agoUpdate gnulib files.
Simon Josefsson [Tue, 18 Aug 2009 21:46:10 +0000 (23:46 +0200)] 
Update gnulib files.

16 years agoUpdate gnulib files.
Simon Josefsson [Sat, 15 Aug 2009 08:03:49 +0000 (10:03 +0200)] 
Update gnulib files.

16 years agoDon't ignore gl/ files!
Simon Josefsson [Sat, 15 Aug 2009 08:02:57 +0000 (10:02 +0200)] 
Don't ignore gl/ files!

16 years agoUpdate gnulib files.
Simon Josefsson [Sat, 15 Aug 2009 08:01:56 +0000 (10:01 +0200)] 
Update gnulib files.

16 years agoUpdate gnulib files.
Simon Josefsson [Sat, 15 Aug 2009 07:58:09 +0000 (09:58 +0200)] 
Update gnulib files.

16 years agoBump versions.
Simon Josefsson [Fri, 14 Aug 2009 14:08:47 +0000 (16:08 +0200)] 
Bump versions.

16 years agoGenerated. gnutls_2_9_2
Simon Josefsson [Fri, 14 Aug 2009 13:43:07 +0000 (15:43 +0200)] 
Generated.

16 years agoVersion 2.9.2.
Simon Josefsson [Fri, 14 Aug 2009 13:34:08 +0000 (15:34 +0200)] 
Version 2.9.2.

16 years agoAdd 2.8.3 entry.
Simon Josefsson [Fri, 14 Aug 2009 13:14:37 +0000 (15:14 +0200)] 
Add 2.8.3 entry.

16 years agoUpdate gnulib files.
Simon Josefsson [Fri, 14 Aug 2009 12:40:36 +0000 (14:40 +0200)] 
Update gnulib files.

16 years agoUpdate gnulib files.
Simon Josefsson [Thu, 13 Aug 2009 11:23:40 +0000 (13:23 +0200)] 
Update gnulib files.

16 years agoUpdate gnulib files.
Simon Josefsson [Thu, 13 Aug 2009 11:11:45 +0000 (13:11 +0200)] 
Update gnulib files.

16 years agoDon't generate gzip archives.
Simon Josefsson [Thu, 13 Aug 2009 10:54:01 +0000 (12:54 +0200)] 
Don't generate gzip archives.

16 years agoRemove io_debug.h stuff, it is superseded by self-tests like mini-eagain.c.
Simon Josefsson [Thu, 13 Aug 2009 10:40:42 +0000 (12:40 +0200)] 
Remove io_debug.h stuff, it is superseded by self-tests like mini-eagain.c.

16 years agoFix.
Simon Josefsson [Thu, 13 Aug 2009 09:25:21 +0000 (11:25 +0200)] 
Fix.

16 years agoAdd.
Simon Josefsson [Thu, 13 Aug 2009 09:17:33 +0000 (11:17 +0200)] 
Add.

16 years ago(gnutls_x509_crt_import): Re-initialize the ASN.1 structure.
Simon Josefsson [Thu, 13 Aug 2009 09:16:08 +0000 (11:16 +0200)] 
(gnutls_x509_crt_import): Re-initialize the ASN.1 structure.

If this is not done here, the next certificate loading may fail
because asn1_der_decoding modified the ASN.1 structure.  Triggered by
the hostname-check self-test.

16 years agoRevert "Always build vc checkouts with debugging."
Simon Josefsson [Thu, 13 Aug 2009 08:19:28 +0000 (10:19 +0200)] 
Revert "Always build vc checkouts with debugging."

This reverts commit b68235be4d1ff7739456e0c5d8c28c6e96e15a14.
It breaks because -Wdisabled-optimizations will cause an error when
optimizations are disabled.

16 years agoAlways build vc checkouts with debugging.
Simon Josefsson [Thu, 13 Aug 2009 08:10:00 +0000 (10:10 +0200)] 
Always build vc checkouts with debugging.

16 years agoFix.
Simon Josefsson [Thu, 13 Aug 2009 08:06:20 +0000 (10:06 +0200)] 
Fix.

16 years agoAdd another SAN/CN collision test.
Simon Josefsson [Thu, 13 Aug 2009 07:37:14 +0000 (09:37 +0200)] 
Add another SAN/CN collision test.
Reported by Daniel Stenberg <daniel@haxx.se> in
<http://permalink.gmane.org/gmane.network.gnutls.general/1735>.

16 years agoFix logic.
Simon Josefsson [Wed, 12 Aug 2009 08:42:49 +0000 (10:42 +0200)] 
Fix logic.

16 years agoTest when SAN and CN differs.
Simon Josefsson [Wed, 12 Aug 2009 08:34:46 +0000 (10:34 +0200)] 
Test when SAN and CN differs.
Inspired by report by Daniel Stenberg <daniel@haxx.se> in
<http://permalink.gmane.org/gmane.network.gnutls.general/1734>.

16 years agoUse include instead of copy.
Simon Josefsson [Wed, 12 Aug 2009 07:07:16 +0000 (09:07 +0200)] 
Use include instead of copy.

16 years agoAdd, needed for -lws2_32 in libextra.
Simon Josefsson [Wed, 12 Aug 2009 07:03:23 +0000 (09:03 +0200)] 
Add, needed for -lws2_32 in libextra.

16 years agoAdd.
Simon Josefsson [Wed, 12 Aug 2009 07:00:10 +0000 (09:00 +0200)] 
Add.

16 years agoDoc fix.
Simon Josefsson [Tue, 11 Aug 2009 01:06:59 +0000 (03:06 +0200)] 
Doc fix.

16 years agoFix typos in documentation.
Simon Josefsson [Tue, 11 Aug 2009 01:01:02 +0000 (03:01 +0200)] 
Fix typos in documentation.
Reported by Daiki Ueno <ueno> in
<https://savannah.gnu.org/support/?106969>.