gnutls:gnutls.git
11 years agoadded valgrind from gnulib.
Nikos Mavrogiannopoulos [Fri, 8 Apr 2011 12:46:17 +0000 (14:46 +0200)]
added valgrind from gnulib.

11 years agoDo not run the test scripts in win32 environment.
Nikos Mavrogiannopoulos [Fri, 8 Apr 2011 12:32:36 +0000 (14:32 +0200)]
Do not run the test scripts in win32 environment.

11 years agouse the system wide gnulib-tool.
Nikos Mavrogiannopoulos [Fri, 8 Apr 2011 12:28:13 +0000 (14:28 +0200)]
use the system wide gnulib-tool.

11 years agoupdated
Nikos Mavrogiannopoulos [Fri, 8 Apr 2011 12:25:45 +0000 (14:25 +0200)]
updated

11 years agoupdated
Nikos Mavrogiannopoulos [Fri, 8 Apr 2011 12:21:49 +0000 (14:21 +0200)]
updated

11 years agoinclude priority headers unconditionally.
Nikos Mavrogiannopoulos [Fri, 8 Apr 2011 12:18:11 +0000 (14:18 +0200)]
include priority headers unconditionally.

11 years agoBetter way of not including the tests/suite directory. Based on discussion with LRN...
Nikos Mavrogiannopoulos [Fri, 8 Apr 2011 11:40:01 +0000 (13:40 +0200)]
Better way of not including the tests/suite directory. Based on discussion with LRN and Vincent Torri.

11 years agoUse a single configure.ac. This speed ups compilation and
Nikos Mavrogiannopoulos [Fri, 8 Apr 2011 11:57:59 +0000 (13:57 +0200)]
Use a single configure.ac. This speed ups compilation and
reduces duplication of code (multiple gl/ libraries etc.).
This saves about 2mb in distributed size (compressed).

11 years agoAvoid using readline.
Nikos Mavrogiannopoulos [Fri, 8 Apr 2011 11:02:49 +0000 (13:02 +0200)]
Avoid using readline.

11 years agoinitialized ret in _gnutls_writev_emu().
Nikos Mavrogiannopoulos [Fri, 8 Apr 2011 10:47:12 +0000 (12:47 +0200)]
initialized ret in _gnutls_writev_emu().

11 years agodoc fix
Nikos Mavrogiannopoulos [Thu, 7 Apr 2011 23:21:04 +0000 (01:21 +0200)]
doc fix

11 years agoremoved unneeded variable.
Nikos Mavrogiannopoulos [Thu, 7 Apr 2011 22:06:03 +0000 (00:06 +0200)]
removed unneeded variable.

11 years agoCorrected check for an unknown sign algorithm. Patch by LRN.
Nikos Mavrogiannopoulos [Thu, 7 Apr 2011 22:05:26 +0000 (00:05 +0200)]
Corrected check for an unknown sign algorithm. Patch by LRN.

11 years agoDo not use %e in strftime. Use %d instead which is identically available in windows...
Nikos Mavrogiannopoulos [Thu, 7 Apr 2011 22:02:59 +0000 (00:02 +0200)]
Do not use %e in strftime. Use %d instead which is identically available in windows as well.
Based on patch by LRN.

11 years agoFixed mismatch in size_t size. Patch by LRN.
Nikos Mavrogiannopoulos [Thu, 7 Apr 2011 22:00:45 +0000 (00:00 +0200)]
Fixed mismatch in size_t size. Patch by LRN.

11 years agoCorrectly set errno in win32 using gnutls_transport_set_global_errno(). Based on...
Nikos Mavrogiannopoulos [Thu, 7 Apr 2011 21:50:01 +0000 (23:50 +0200)]
Correctly set errno in win32 using gnutls_transport_set_global_errno(). Based on patch by LRN.

11 years agoAvoid using gnutls_transport_set_global_errno() and use gnutls_transport_set_errno...
Nikos Mavrogiannopoulos [Thu, 7 Apr 2011 21:40:21 +0000 (23:40 +0200)]
Avoid using gnutls_transport_set_global_errno() and use gnutls_transport_set_errno() instead.

11 years agowin32 fixes for set_global_errno(). Suggested by LRN.
Nikos Mavrogiannopoulos [Thu, 7 Apr 2011 21:35:54 +0000 (23:35 +0200)]
win32 fixes for set_global_errno(). Suggested by LRN.

11 years agoWin32 changes for benchmark. Patch by LRN.
Nikos Mavrogiannopoulos [Thu, 7 Apr 2011 21:32:39 +0000 (23:32 +0200)]
Win32 changes for benchmark. Patch by LRN.

11 years agowin32 fixes. Patch by LRN.
Nikos Mavrogiannopoulos [Thu, 7 Apr 2011 21:18:01 +0000 (23:18 +0200)]
win32 fixes. Patch by LRN.

11 years agominor modification in write_emu().
Nikos Mavrogiannopoulos [Thu, 7 Apr 2011 21:16:58 +0000 (23:16 +0200)]
minor modification in write_emu().

11 years agosimplified cdk_trim_string() to make it safer to use.
Nikos Mavrogiannopoulos [Wed, 6 Apr 2011 23:14:25 +0000 (01:14 +0200)]
simplified cdk_trim_string() to make it safer to use.

11 years agocorrectly reset params.
Nikos Mavrogiannopoulos [Wed, 6 Apr 2011 22:58:42 +0000 (00:58 +0200)]
correctly reset params.

11 years agouse correct pointer size.
Nikos Mavrogiannopoulos [Wed, 6 Apr 2011 22:57:36 +0000 (00:57 +0200)]
use correct pointer size.

11 years agocorrectly compare sign algorithm_st.
Nikos Mavrogiannopoulos [Wed, 6 Apr 2011 22:54:34 +0000 (00:54 +0200)]
correctly compare sign algorithm_st.

11 years agoremoved unused code
Nikos Mavrogiannopoulos [Wed, 6 Apr 2011 22:48:46 +0000 (00:48 +0200)]
removed unused code

11 years agonull terminate the armored string
Nikos Mavrogiannopoulos [Wed, 6 Apr 2011 22:37:20 +0000 (00:37 +0200)]
null terminate the armored string

11 years agoproperly null terminate string.
Nikos Mavrogiannopoulos [Wed, 6 Apr 2011 22:31:01 +0000 (00:31 +0200)]
properly null terminate string.

11 years agocheck PIN size.
Nikos Mavrogiannopoulos [Wed, 6 Apr 2011 22:18:01 +0000 (00:18 +0200)]
check PIN size.

11 years agocheck salt size.
Nikos Mavrogiannopoulos [Wed, 6 Apr 2011 22:16:21 +0000 (00:16 +0200)]
check salt size.

11 years agomore clear bounds checking
Nikos Mavrogiannopoulos [Wed, 6 Apr 2011 22:11:44 +0000 (00:11 +0200)]
more clear bounds checking

11 years agoinitialize e and d.
Nikos Mavrogiannopoulos [Tue, 5 Apr 2011 22:18:16 +0000 (00:18 +0200)]
initialize e and d.

11 years agodeinitialize pks variable only when needed.
Nikos Mavrogiannopoulos [Tue, 5 Apr 2011 22:16:50 +0000 (00:16 +0200)]
deinitialize pks variable only when needed.

11 years agoInitialize verify.
Nikos Mavrogiannopoulos [Tue, 5 Apr 2011 22:12:45 +0000 (00:12 +0200)]
Initialize verify.

11 years agoinitialize session_id_size.
Nikos Mavrogiannopoulos [Tue, 5 Apr 2011 22:10:37 +0000 (00:10 +0200)]
initialize session_id_size.

11 years agoremoved unneeded function.
Nikos Mavrogiannopoulos [Tue, 5 Apr 2011 22:08:30 +0000 (00:08 +0200)]
removed unneeded function.

11 years agocorrectly traverse slots
Nikos Mavrogiannopoulos [Tue, 5 Apr 2011 22:03:49 +0000 (00:03 +0200)]
correctly traverse slots

11 years agoavoid using a freed pointer.
Nikos Mavrogiannopoulos [Tue, 5 Apr 2011 21:59:06 +0000 (23:59 +0200)]
avoid using a freed pointer.

11 years agoInitialize tinfo using the initially available information.
Nikos Mavrogiannopoulos [Tue, 5 Apr 2011 21:53:40 +0000 (23:53 +0200)]
Initialize tinfo using the initially available information.

11 years agocorrected debugging info.
Nikos Mavrogiannopoulos [Tue, 5 Apr 2011 17:41:48 +0000 (19:41 +0200)]
corrected debugging info.

11 years agoThe mini-* programs were combined.
Nikos Mavrogiannopoulos [Mon, 4 Apr 2011 20:02:27 +0000 (22:02 +0200)]
The mini-* programs were combined.

11 years agoDo not cleanup bufel after it has been inserted into buffer.
Nikos Mavrogiannopoulos [Mon, 4 Apr 2011 20:01:29 +0000 (22:01 +0200)]
Do not cleanup bufel after it has been inserted into buffer.

11 years agoCombined dequeue with remove_front() and pop_first().
Nikos Mavrogiannopoulos [Mon, 4 Apr 2011 19:51:59 +0000 (21:51 +0200)]
Combined dequeue with remove_front() and pop_first().

11 years agoCompile ex-cert-select-pkcs11 as a separate program.
Nikos Mavrogiannopoulos [Sun, 3 Apr 2011 21:46:10 +0000 (23:46 +0200)]
Compile ex-cert-select-pkcs11 as a separate program.

11 years agoAdded support for non-blocking DTLS.
Nikos Mavrogiannopoulos [Sun, 3 Apr 2011 21:42:13 +0000 (23:42 +0200)]
Added support for non-blocking DTLS.
Added mini-eagain-dtls to test its operation.
Improved mini-eagain.

11 years agogcrypt.h is not really needed. Reported by David Reiser.
Nikos Mavrogiannopoulos [Sun, 3 Apr 2011 20:27:12 +0000 (22:27 +0200)]
gcrypt.h is not really needed. Reported by David Reiser.

11 years agocorrected header inclusion.
Nikos Mavrogiannopoulos [Sun, 3 Apr 2011 09:04:31 +0000 (11:04 +0200)]
corrected header inclusion.

11 years agocrypt.* renamed to srptool.*.
Nikos Mavrogiannopoulos [Sun, 3 Apr 2011 08:56:36 +0000 (10:56 +0200)]
crypt.* renamed to srptool.*.

11 years agoCorrected bug in gnutls_srp_verifier() that prevented the allocation of a verifier...
Nikos Mavrogiannopoulos [Sun, 3 Apr 2011 08:52:21 +0000 (10:52 +0200)]
Corrected bug in gnutls_srp_verifier() that prevented the allocation of a verifier. Reported by Andrew Wiseman.

11 years agoAdded debug option to srptool.
Nikos Mavrogiannopoulos [Sun, 3 Apr 2011 08:50:54 +0000 (10:50 +0200)]
Added debug option to srptool.

11 years agoDocumented p11-kit.
Nikos Mavrogiannopoulos [Sat, 2 Apr 2011 23:48:04 +0000 (01:48 +0200)]
Documented p11-kit.

11 years agocorrected typo
Nikos Mavrogiannopoulos [Sat, 2 Apr 2011 11:03:37 +0000 (13:03 +0200)]
corrected typo

11 years agoAdded copyright.
Nikos Mavrogiannopoulos [Wed, 30 Mar 2011 20:46:44 +0000 (22:46 +0200)]
Added copyright.

11 years agoReorganized scripts that use test servers, based on patch by Cedric Arbogast.
Nikos Mavrogiannopoulos [Wed, 30 Mar 2011 20:23:30 +0000 (22:23 +0200)]
Reorganized scripts that use test servers, based on patch by Cedric Arbogast.

11 years agoCreate certificate request with stricter permissions. Reported by Luca Capello.
Nikos Mavrogiannopoulos [Wed, 30 Mar 2011 19:58:52 +0000 (21:58 +0200)]
Create certificate request with stricter permissions. Reported by Luca Capello.

11 years agoenabled testcerts.
Nikos Mavrogiannopoulos [Mon, 28 Mar 2011 19:33:10 +0000 (21:33 +0200)]
enabled testcerts.

11 years agomade more silent.
Nikos Mavrogiannopoulos [Mon, 28 Mar 2011 19:31:58 +0000 (21:31 +0200)]
made more silent.

11 years agoMade scripts bourne shell compliant and not bash.
Nikos Mavrogiannopoulos [Mon, 28 Mar 2011 19:27:19 +0000 (21:27 +0200)]
Made scripts bourne shell compliant and not bash.

11 years agoe-mail addresses are not directly recognizable.
Nikos Mavrogiannopoulos [Sat, 26 Mar 2011 00:02:50 +0000 (01:02 +0100)]
e-mail addresses are not directly recognizable.

11 years agoCorrected access to freed memory location. Reported by Vitaly Kruglikov.
Nikos Mavrogiannopoulos [Sat, 26 Mar 2011 00:01:17 +0000 (01:01 +0100)]
Corrected access to freed memory location. Reported by Vitaly Kruglikov.

11 years agoadded Mark and Vitaly to THANKS.
Nikos Mavrogiannopoulos [Fri, 25 Mar 2011 23:55:19 +0000 (00:55 +0100)]
added Mark and Vitaly to THANKS.

11 years agoCorrected windows system_errno() function. Reported and patch by Mark Brand.
Nikos Mavrogiannopoulos [Fri, 25 Mar 2011 23:53:51 +0000 (00:53 +0100)]
Corrected windows system_errno() function. Reported and patch by Mark Brand.

11 years agoC++ compatibility fix for compat.h. Suggested by Mark Brand.
Nikos Mavrogiannopoulos [Fri, 25 Mar 2011 23:52:01 +0000 (00:52 +0100)]
C++ compatibility fix for compat.h. Suggested by Mark Brand.

11 years agoCorrected uninitialized var deinitiation. Reported by Vitaly Kruglikov.
Nikos Mavrogiannopoulos [Fri, 25 Mar 2011 19:31:11 +0000 (20:31 +0100)]
Corrected uninitialized var deinitiation. Reported by Vitaly Kruglikov.

11 years agoeliminate compiler warning. Reported by Andreas Metzler.
Nikos Mavrogiannopoulos [Fri, 25 Mar 2011 19:20:22 +0000 (20:20 +0100)]
eliminate compiler warning. Reported by Andreas Metzler.

11 years agoFix size of gnutls_openpgp_keyid_t by using the GNUTLS_OPENPGP_KEYID_SIZE definition.
Nikos Mavrogiannopoulos [Fri, 25 Mar 2011 19:18:00 +0000 (20:18 +0100)]
Fix size of gnutls_openpgp_keyid_t by using the GNUTLS_OPENPGP_KEYID_SIZE definition.
Reported by Andreas Metzler.

11 years agoincluded news of 2.12.0
Nikos Mavrogiannopoulos [Thu, 24 Mar 2011 18:44:12 +0000 (19:44 +0100)]
included news of 2.12.0

11 years agoadded missing files.
Nikos Mavrogiannopoulos [Thu, 24 Mar 2011 18:34:29 +0000 (19:34 +0100)]
added missing files.

11 years agodocumentation fixes.
Nikos Mavrogiannopoulos [Wed, 23 Mar 2011 19:03:47 +0000 (20:03 +0100)]
documentation fixes.

11 years agoAdded DSA tests for client certificates as well.
Nikos Mavrogiannopoulos [Wed, 23 Mar 2011 18:44:52 +0000 (19:44 +0100)]
Added DSA tests for client certificates as well.

11 years agoSimplified signature algorithm selection.
Nikos Mavrogiannopoulos [Wed, 23 Mar 2011 18:44:32 +0000 (19:44 +0100)]
Simplified signature algorithm selection.

11 years agoThe processed messages go to stdout.
Nikos Mavrogiannopoulos [Wed, 23 Mar 2011 17:29:44 +0000 (18:29 +0100)]
The processed messages go to stdout.

11 years agoupdated documentation
Nikos Mavrogiannopoulos [Wed, 23 Mar 2011 17:04:16 +0000 (18:04 +0100)]
updated documentation

11 years agoIncreased GNUTLS_MAX_ALGORITHM_NUM to 32. The gnutls_*_list() functions generate...
Nikos Mavrogiannopoulos [Wed, 23 Mar 2011 04:38:19 +0000 (05:38 +0100)]
Increased GNUTLS_MAX_ALGORITHM_NUM to 32. The gnutls_*_list() functions generate the list of algorithm on the spot and no longer require a static duplicate list of algorithms. This comes at a cost of not being thread safe (which is not significant since those functions are only used for special purposes).

11 years agocorrected parameter.
Nikos Mavrogiannopoulos [Mon, 21 Mar 2011 17:38:10 +0000 (18:38 +0100)]
corrected parameter.

11 years agoDocumentation fixes and cleanups.
Nikos Mavrogiannopoulos [Mon, 21 Mar 2011 16:14:55 +0000 (17:14 +0100)]
Documentation fixes and cleanups.

11 years agodefine variable locally
Nikos Mavrogiannopoulos [Sun, 20 Mar 2011 18:47:45 +0000 (19:47 +0100)]
define variable locally

11 years agouse IP_DONTFRAG if it is defined.
Nikos Mavrogiannopoulos [Sun, 20 Mar 2011 18:47:01 +0000 (19:47 +0100)]
use IP_DONTFRAG if it is defined.

11 years agoAvoided waiting for peer's retransmission to ensure receipt of finished messages...
Nikos Mavrogiannopoulos [Sun, 20 Mar 2011 13:18:57 +0000 (14:18 +0100)]
Avoided waiting for peer's retransmission to ensure receipt of finished messages, and used a 'timer'-like to retransmit packets.

11 years agoadded gnutls_dtls_get_data_mtu().
Nikos Mavrogiannopoulos [Sun, 20 Mar 2011 10:06:53 +0000 (11:06 +0100)]
added gnutls_dtls_get_data_mtu().

11 years agomake gnutls-cli more quiet.
Nikos Mavrogiannopoulos [Sat, 19 Mar 2011 11:27:07 +0000 (12:27 +0100)]
make gnutls-cli more quiet.

11 years agoAdded test to verify connections with DSA keys of various sizes.
Nikos Mavrogiannopoulos [Sat, 19 Mar 2011 11:15:42 +0000 (12:15 +0100)]
Added test to verify connections with DSA keys of various sizes.

11 years agowarn on generation of DSA keys of over 1024 bits.
Nikos Mavrogiannopoulos [Sat, 19 Mar 2011 11:15:22 +0000 (12:15 +0100)]
warn on generation of DSA keys of over 1024 bits.

11 years agoReturn a special error code if DSA keys with over 1024 are being used with TLS 1...
Nikos Mavrogiannopoulos [Sat, 19 Mar 2011 11:07:51 +0000 (12:07 +0100)]
Return a special error code if DSA keys with over 1024 are being used with TLS 1.x, x<2.

11 years agotruncate hash size when asking to sign or verify DSA with a longer hash.
Nikos Mavrogiannopoulos [Sat, 19 Mar 2011 11:04:54 +0000 (12:04 +0100)]
truncate hash size when asking to sign or verify DSA with a longer hash.

11 years agoCheck for rejected connections in system_recv_timeout().
Nikos Mavrogiannopoulos [Fri, 18 Mar 2011 19:55:02 +0000 (20:55 +0100)]
Check for rejected connections in system_recv_timeout().

11 years agoquickly discuss callback format.
Nikos Mavrogiannopoulos [Fri, 18 Mar 2011 19:46:19 +0000 (20:46 +0100)]
quickly discuss callback format.

11 years agoWhen sending multiple cookies due to verification errors do not increase the handshak...
Nikos Mavrogiannopoulos [Wed, 16 Mar 2011 22:04:04 +0000 (23:04 +0100)]
When sending multiple cookies due to verification errors do not increase the handshake sequence
number only the record sequence.

11 years agoupdated Jonathan
Nikos Mavrogiannopoulos [Wed, 16 Mar 2011 21:43:39 +0000 (22:43 +0100)]
updated Jonathan

11 years agoAdded check for RSA ciphersuite in openpgp keys.
Nikos Mavrogiannopoulos [Wed, 16 Mar 2011 21:39:12 +0000 (22:39 +0100)]
Added check for RSA ciphersuite in openpgp keys.

11 years agoread correct algorithm when decrypting data and use correct number of private parameters.
Nikos Mavrogiannopoulos [Wed, 16 Mar 2011 21:38:18 +0000 (22:38 +0100)]
read correct algorithm when decrypting data and use correct number of private parameters.

11 years agoadded missing ret.
Nikos Mavrogiannopoulos [Wed, 16 Mar 2011 21:14:33 +0000 (22:14 +0100)]
added missing ret.

11 years agoSet type when sending empty openpgp key.
Nikos Mavrogiannopoulos [Wed, 16 Mar 2011 20:57:02 +0000 (21:57 +0100)]
Set type when sending empty openpgp key.

11 years agoCorrected nettle's RNG behavior on fork and added a test case.
Nikos Mavrogiannopoulos [Wed, 16 Mar 2011 20:46:13 +0000 (21:46 +0100)]
Corrected nettle's RNG behavior on fork and added a test case.

11 years agoenabled RSA and removed debugging.
Nikos Mavrogiannopoulos [Wed, 16 Mar 2011 19:50:27 +0000 (20:50 +0100)]
enabled RSA and removed debugging.

11 years agognutls_pubkey_t and gnutls_privkey_t can import either an openpgp subkey or a master...
Nikos Mavrogiannopoulos [Wed, 16 Mar 2011 19:47:20 +0000 (20:47 +0100)]
gnutls_pubkey_t and gnutls_privkey_t can import either an openpgp subkey or a master key.

11 years agosplit the pgp keys to elgamal and dsa.
Nikos Mavrogiannopoulos [Wed, 16 Mar 2011 18:42:52 +0000 (19:42 +0100)]
split the pgp keys to elgamal and dsa.

11 years agointroduced GNUTLS_E_OPENPGP_PREFERRED_KEY_ERROR
Nikos Mavrogiannopoulos [Wed, 16 Mar 2011 18:41:52 +0000 (19:41 +0100)]
introduced GNUTLS_E_OPENPGP_PREFERRED_KEY_ERROR

11 years agoOn unknown public key algorithms return Unknown name.
Nikos Mavrogiannopoulos [Wed, 16 Mar 2011 18:18:32 +0000 (19:18 +0100)]
On unknown public key algorithms return Unknown name.

11 years agoRead the public key algorithm from the selected subkey and not the master key when...
Nikos Mavrogiannopoulos [Wed, 16 Mar 2011 18:08:18 +0000 (19:08 +0100)]
Read the public key algorithm from the selected subkey and not the master key when importing to a gnutls_privkey.