]> git.ipfire.org Git - thirdparty/gnutls.git/log
thirdparty/gnutls.git
15 years agoRemoved redundant error check. Reported by Nicolas Kaiser.
Nikos Mavrogiannopoulos [Thu, 11 Nov 2010 22:19:35 +0000 (23:19 +0100)] 
Removed redundant error check. Reported by Nicolas Kaiser.

15 years agoAdded --list-mechanisms option to p11tool. Lists all mechanisms supported by
Nikos Mavrogiannopoulos [Thu, 11 Nov 2010 18:16:20 +0000 (19:16 +0100)] 
Added --list-mechanisms option to p11tool. Lists all mechanisms supported by
a token.

15 years agoAdded manpage for p11tool.
Nikos Mavrogiannopoulos [Thu, 11 Nov 2010 11:51:14 +0000 (12:51 +0100)] 
Added manpage for p11tool.

15 years agoCorrected my name.
Nikos Mavrogiannopoulos [Thu, 11 Nov 2010 11:31:19 +0000 (12:31 +0100)] 
Corrected my name.

15 years agoIn p11tool --url was renamed to --export.
Nikos Mavrogiannopoulos [Thu, 11 Nov 2010 09:26:40 +0000 (10:26 +0100)] 
In p11tool --url was renamed to --export.

15 years agoCorrected bug in secret key copy. Rationalized the --help of p11tool.
Nikos Mavrogiannopoulos [Thu, 11 Nov 2010 09:13:32 +0000 (10:13 +0100)] 
Corrected bug in secret key copy. Rationalized the --help of p11tool.

15 years ago* Corrected flag conversion to internal representation.
Nikos Mavrogiannopoulos [Thu, 11 Nov 2010 09:12:16 +0000 (10:12 +0100)] 
* Corrected flag conversion to internal representation.
* When generating secret keys include a generic key type and a random ID.

15 years agoAdded option --no-detailed-url to p11tool. More detailed url is the default now.
Nikos Mavrogiannopoulos [Thu, 11 Nov 2010 08:01:10 +0000 (09:01 +0100)] 
Added option --no-detailed-url to p11tool. More detailed url is the default now.

15 years agoAdded gnutls_pkcs11_token_set_pin() and gnutls_pkcs11_token_init() to enable
Nikos Mavrogiannopoulos [Sun, 7 Nov 2010 10:08:51 +0000 (11:08 +0100)] 
Added gnutls_pkcs11_token_set_pin() and gnutls_pkcs11_token_init() to enable
manipulating tokens purely from PKCS #11.

15 years agoRemoved README.gaa.
Nikos Mavrogiannopoulos [Sun, 7 Nov 2010 04:27:58 +0000 (05:27 +0100)] 
Removed README.gaa.

15 years agoIntroduced p11tool to separate PKCS #11 functionality from certtool.
Nikos Mavrogiannopoulos [Sun, 7 Nov 2010 04:22:22 +0000 (05:22 +0100)] 
Introduced p11tool to separate PKCS #11 functionality from certtool.

15 years agoRemoved check on deprecated feature (finished).
Nikos Mavrogiannopoulos [Sun, 7 Nov 2010 04:09:01 +0000 (05:09 +0100)] 
Removed check on deprecated feature (finished).

15 years agoDeprecated old functions.
Nikos Mavrogiannopoulos [Thu, 4 Nov 2010 15:37:44 +0000 (16:37 +0100)] 
Deprecated old functions.

15 years agouse @code for SAFE_RENEGOTIATION string.
Nikos Mavrogiannopoulos [Mon, 1 Nov 2010 12:24:20 +0000 (13:24 +0100)] 
use @code for SAFE_RENEGOTIATION string.

15 years agoDoc fix.
Simon Josefsson [Mon, 7 Jun 2010 14:12:11 +0000 (16:12 +0200)] 
Doc fix.

15 years agoAdd.
Simon Josefsson [Sat, 16 Oct 2010 21:15:49 +0000 (23:15 +0200)] 
Add.

15 years agoAdded tests/suite which contains tests to be executed during
Nikos Mavrogiannopoulos [Sat, 16 Oct 2010 13:49:30 +0000 (15:49 +0200)] 
Added tests/suite which contains tests to be executed during
development time and will not be distributed (not included in make dist).
Added "ecore" and a new mini-eagain to test EAGAIN behavior.

15 years agoupdated .gitignore.
Nikos Mavrogiannopoulos [Sat, 16 Oct 2010 13:41:32 +0000 (15:41 +0200)] 
updated .gitignore.

15 years agognutls-cli: Print channel binding only in verbose mode.
Simon Josefsson [Sat, 16 Oct 2010 06:57:08 +0000 (08:57 +0200)] 
gnutls-cli: Print channel binding only in verbose mode.

Before it printed it after the 'Compression:' output, thus breaking
Emacs starttls.el string searches.

15 years agoBump versions.
Simon Josefsson [Fri, 15 Oct 2010 13:51:55 +0000 (15:51 +0200)] 
Bump versions.

15 years agoGenerated. gnutls_2_11_4
Simon Josefsson [Fri, 15 Oct 2010 13:14:42 +0000 (15:14 +0200)] 
Generated.

15 years agoVersion 2.11.4.
Simon Josefsson [Fri, 15 Oct 2010 12:56:42 +0000 (14:56 +0200)] 
Version 2.11.4.

15 years agoRename new symbol prefix after next stable branch instead of development branch.
Simon Josefsson [Fri, 15 Oct 2010 12:55:06 +0000 (14:55 +0200)] 
Rename new symbol prefix after next stable branch instead of development branch.

15 years agoAdd.
Simon Josefsson [Fri, 15 Oct 2010 12:54:22 +0000 (14:54 +0200)] 
Add.

15 years agoDocument channel binding API.
Simon Josefsson [Fri, 15 Oct 2010 12:50:58 +0000 (14:50 +0200)] 
Document channel binding API.

15 years agoImplement RFC 5929 tls-unique channel binding.
Simon Josefsson [Fri, 15 Oct 2010 12:37:36 +0000 (14:37 +0200)] 
Implement RFC 5929 tls-unique channel binding.

15 years agoAdd gnutls_session_channel_binding API.
Simon Josefsson [Thu, 14 Oct 2010 21:11:28 +0000 (23:11 +0200)] 
Add gnutls_session_channel_binding API.

15 years agoGenerated.
Simon Josefsson [Thu, 14 Oct 2010 21:03:56 +0000 (23:03 +0200)] 
Generated.

15 years agoAdd.
Simon Josefsson [Thu, 14 Oct 2010 20:37:08 +0000 (22:37 +0200)] 
Add.

15 years agoAdd self test gendh to check DH generation.
Simon Josefsson [Thu, 14 Oct 2010 20:30:23 +0000 (22:30 +0200)] 
Add self test gendh to check DH generation.

15 years agoFix compiler warnings.
Simon Josefsson [Thu, 14 Oct 2010 20:28:25 +0000 (22:28 +0200)] 
Fix compiler warnings.

15 years agoDon't generate DH primes in Guile self checks (for speed).
Simon Josefsson [Thu, 14 Oct 2010 20:21:22 +0000 (22:21 +0200)] 
Don't generate DH primes in Guile self checks (for speed).

15 years agoCleanup, fixing distcheck.
Simon Josefsson [Thu, 14 Oct 2010 19:38:15 +0000 (21:38 +0200)] 
Cleanup, fixing distcheck.

15 years agoMake it work with srcdir != objdir.
Simon Josefsson [Thu, 14 Oct 2010 19:09:28 +0000 (21:09 +0200)] 
Make it work with srcdir != objdir.

15 years agoImprove GTK-DOC manual.
Simon Josefsson [Thu, 14 Oct 2010 14:10:11 +0000 (16:10 +0200)] 
Improve GTK-DOC manual.

15 years agoAdd.
Simon Josefsson [Thu, 14 Oct 2010 13:58:25 +0000 (15:58 +0200)] 
Add.

15 years agoFix syntax-check warning.
Simon Josefsson [Thu, 14 Oct 2010 13:55:07 +0000 (15:55 +0200)] 
Fix syntax-check warning.

15 years agoUpdate gnulib files.
Simon Josefsson [Thu, 14 Oct 2010 13:52:47 +0000 (15:52 +0200)] 
Update gnulib files.

15 years agoDon't assume chmod +x on gendocs.sh.
Simon Josefsson [Thu, 14 Oct 2010 13:52:38 +0000 (15:52 +0200)] 
Don't assume chmod +x on gendocs.sh.

15 years agoUse gnulib --add-import.
Simon Josefsson [Thu, 14 Oct 2010 13:38:08 +0000 (15:38 +0200)] 
Use gnulib --add-import.

15 years agoSort and update.
Simon Josefsson [Thu, 14 Oct 2010 13:37:16 +0000 (15:37 +0200)] 
Sort and update.

15 years agoSync with TP.
Simon Josefsson [Thu, 14 Oct 2010 13:34:28 +0000 (15:34 +0200)] 
Sync with TP.

15 years agoBump versions.
Simon Josefsson [Thu, 14 Oct 2010 13:33:46 +0000 (15:33 +0200)] 
Bump versions.

15 years agoGenerated. gnutls_2_11_3
Simon Josefsson [Thu, 14 Oct 2010 13:23:28 +0000 (15:23 +0200)] 
Generated.

15 years agoVersion 2.11.3.
Simon Josefsson [Thu, 14 Oct 2010 13:22:38 +0000 (15:22 +0200)] 
Version 2.11.3.

15 years agoBump versions.
Simon Josefsson [Thu, 14 Oct 2010 13:04:12 +0000 (15:04 +0200)] 
Bump versions.

15 years agoIndent (using GNU indent 2.2.11).
Simon Josefsson [Thu, 14 Oct 2010 13:02:12 +0000 (15:02 +0200)] 
Indent (using GNU indent 2.2.11).

15 years agobumped version
Nikos Mavrogiannopoulos [Fri, 8 Oct 2010 06:30:45 +0000 (08:30 +0200)] 
bumped version

15 years agoRevert "Applied last patch of Micah Anderson on IKE status."
Nikos Mavrogiannopoulos [Fri, 8 Oct 2010 06:30:00 +0000 (08:30 +0200)] 
Revert "Applied last patch of Micah Anderson on IKE status."

This reverts commit a6b2f5ce7316b4774649ee9b421da2ee7fef461f.

15 years agoremoved unneeded code.
Nikos Mavrogiannopoulos [Fri, 8 Oct 2010 06:24:42 +0000 (08:24 +0200)] 
removed unneeded code.

15 years agoApplied last patch of Micah Anderson on IKE status.
Nikos Mavrogiannopoulos [Fri, 8 Oct 2010 06:23:01 +0000 (08:23 +0200)] 
Applied last patch of Micah Anderson on IKE status.

15 years agoApplied patch on IKE extension by Micah Anderson
Nikos Mavrogiannopoulos [Sat, 2 Oct 2010 21:30:08 +0000 (23:30 +0200)] 
Applied patch on IKE extension by Micah Anderson

15 years agoUpdated cryptodev code to support the linux cryptodev extensions.
Nikos Mavrogiannopoulos [Sat, 2 Oct 2010 20:15:02 +0000 (22:15 +0200)] 
Updated cryptodev code to support the linux cryptodev extensions.
Removed the clone() capability from HMAC. It was never used and having
it prevents using it with hardware accelerators that might not have this
capability.

15 years agoAdded Micah
Nikos Mavrogiannopoulos [Wed, 29 Sep 2010 09:13:40 +0000 (11:13 +0200)] 
Added Micah

15 years agoFix some syntax-check errors.
Simon Josefsson [Fri, 1 Oct 2010 09:26:50 +0000 (11:26 +0200)] 
Fix some syntax-check errors.

15 years agoFix compiler warnings.
Simon Josefsson [Fri, 1 Oct 2010 09:20:36 +0000 (11:20 +0200)] 
Fix compiler warnings.

15 years agoMention new APIs.
Simon Josefsson [Fri, 1 Oct 2010 09:20:28 +0000 (11:20 +0200)] 
Mention new APIs.

15 years agoAvoid bashism.
Simon Josefsson [Thu, 30 Sep 2010 20:39:45 +0000 (22:39 +0200)] 
Avoid bashism.

Reported by m.drochner@fz-juelich.de in
<http://savannah.gnu.org/support/?107449>.

15 years agoDon't return from void functions.
Simon Josefsson [Thu, 30 Sep 2010 15:02:20 +0000 (17:02 +0200)] 
Don't return from void functions.

Reported by Dagobert Michelsen <dam@opencsw.org>
in <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/4566>.

15 years agoRemove spurious comma.
Simon Josefsson [Thu, 30 Sep 2010 09:26:04 +0000 (11:26 +0200)] 
Remove spurious comma.

15 years agoRemove spurious comma.
Simon Josefsson [Thu, 30 Sep 2010 09:25:31 +0000 (11:25 +0200)] 
Remove spurious comma.

15 years agoMake pkcs8-decode test work on Windows.
Simon Josefsson [Thu, 30 Sep 2010 07:22:18 +0000 (09:22 +0200)] 
Make pkcs8-decode test work on Windows.

15 years agoupdated
Nikos Mavrogiannopoulos [Wed, 29 Sep 2010 09:11:05 +0000 (11:11 +0200)] 
updated

15 years agotreat absence of parameters the same as having them disabled.
Nikos Mavrogiannopoulos [Wed, 29 Sep 2010 09:09:30 +0000 (11:09 +0200)] 
treat absence of parameters the same as having them disabled.

15 years agoCorrected behavior on failure (don't crash).
Nikos Mavrogiannopoulos [Wed, 29 Sep 2010 09:09:05 +0000 (11:09 +0200)] 
Corrected behavior on failure (don't crash).

15 years agoCorrected bugs when restoring extensions during session resumtion.
Nikos Mavrogiannopoulos [Wed, 29 Sep 2010 08:45:12 +0000 (10:45 +0200)] 
Corrected bugs when restoring extensions during session resumtion.

15 years agoUse more informative logging for extensions.
Nikos Mavrogiannopoulos [Wed, 29 Sep 2010 08:05:11 +0000 (10:05 +0200)] 
Use more informative logging for extensions.

15 years agoAdd new extended key usage ipsecIKE
Micah Anderson [Wed, 29 Sep 2010 04:14:56 +0000 (00:14 -0400)] 
Add new extended key usage ipsecIKE

According to RFC 4945 § 5.1.3.12 section title "ExtendedKeyUsage"[0] the
following extended key usage has been added:

 ... this document defines an ExtendedKeyUsage keyPurposeID that MAY be
   used to limit a certificate's use:

   id-kp-ipsecIKE OBJECT IDENTIFIER ::= { id-kp 17 }

   where id-kp is defined in RFC 3280 [5].  If a certificate is intended
   to be used with both IKE and other applications, and one of the other
   applications requires use of an EKU value, then such certificates
   MUST contain either the keyPurposeID id-kp-ipsecIKE or
   anyExtendedKeyUsage [5], as well as the keyPurposeID values
   associated with the other applications.  Similarly, if a CA issues
   multiple otherwise-similar certificates for multiple applications
   including IKE, and it is intended that the IKE certificate NOT be
   used with another application, the IKE certificate MAY contain an EKU
   extension listing a keyPurposeID of id-kp-ipsecIKE to discourage its
   use with the other application.  Recall, however, that EKU extensions
   in certificates meant for use in IKE are NOT RECOMMENDED.

   Conforming IKE implementations are not required to support EKU.  If a
   critical EKU extension appears in a certificate and EKU is not
   supported by the implementation, then RFC 3280 requires that the
   certificate be rejected.  Implementations that do support EKU MUST
   support the following logic for certificate validation:

   o  If no EKU extension, continue.

   o  If EKU present AND contains either id-kp-ipsecIKE or
      anyExtendedKeyUsage, continue.

   o  Otherwise, reject cert.

Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
15 years ago--pkcs11-* in certtool was renamed to --p11-*.
Nikos Mavrogiannopoulos [Mon, 27 Sep 2010 15:05:29 +0000 (17:05 +0200)] 
--pkcs11-* in certtool was renamed to --p11-*.

15 years agoAdded some comments and removed unused code.
Nikos Mavrogiannopoulos [Sat, 25 Sep 2010 07:07:05 +0000 (09:07 +0200)] 
Added some comments and removed unused code.

15 years agoCorrected advertizing issue for session tickets.
Nikos Mavrogiannopoulos [Sat, 25 Sep 2010 06:56:45 +0000 (08:56 +0200)] 
Corrected advertizing issue for session tickets.

15 years agocleanup of TODO list. Removed very old entries, entries already fixed and added new...
Nikos Mavrogiannopoulos [Fri, 24 Sep 2010 18:40:04 +0000 (20:40 +0200)] 
cleanup of TODO list. Removed very old entries, entries already fixed and added new ones.

15 years agoIMED_RET parameters are easier to grasp.
Nikos Mavrogiannopoulos [Fri, 24 Sep 2010 18:30:23 +0000 (20:30 +0200)] 
IMED_RET parameters are easier to grasp.

15 years agocipher,mac and digest priorities moved to crypto.c
Nikos Mavrogiannopoulos [Fri, 24 Sep 2010 16:41:54 +0000 (18:41 +0200)] 
cipher,mac and digest priorities moved to crypto.c

15 years agochanged the fatality level of some errors.
Nikos Mavrogiannopoulos [Thu, 23 Sep 2010 21:08:55 +0000 (23:08 +0200)] 
changed the fatality level of some errors.

15 years agoNo longer use is_fatal() during handshake. Explicitely treat
Nikos Mavrogiannopoulos [Thu, 23 Sep 2010 20:59:09 +0000 (22:59 +0200)] 
No longer use is_fatal() during handshake. Explicitely treat
EAGAIN and INTERRUPTED as non-fatal during handshake. If the check_fatal
flag is set then GNUTLS_E_WARNING_ALERT_RECEIVED could interrupt
a handshake as well.

15 years agofflush stdout and stderr before the call to setbuf. This fixes issue in solaris where...
Nikos Mavrogiannopoulos [Thu, 23 Sep 2010 08:01:19 +0000 (10:01 +0200)] 
fflush stdout and stderr before the call to setbuf. This fixes issue in solaris where lines dissappeared from output. Reported and suggested fix by Knut Anders Hatlen.

15 years agodocumented change
Nikos Mavrogiannopoulos [Mon, 20 Sep 2010 14:47:18 +0000 (16:47 +0200)] 
documented change

15 years agoCorrected bug in wrap_nettle_pk_fixup that was importing DSA keys are RSA ones.
Nikos Mavrogiannopoulos [Sun, 19 Sep 2010 07:09:43 +0000 (09:09 +0200)] 
Corrected bug in wrap_nettle_pk_fixup that was importing DSA keys are RSA ones.

15 years agoindented some code
Nikos Mavrogiannopoulos [Sun, 19 Sep 2010 07:07:41 +0000 (09:07 +0200)] 
indented some code

15 years agoupdated revision
Nikos Mavrogiannopoulos [Sun, 19 Sep 2010 06:42:45 +0000 (08:42 +0200)] 
updated revision

15 years agoAdd an OpenPGP authentication unit test.
Ludovic Courtès [Sat, 18 Sep 2010 13:56:28 +0000 (15:56 +0200)] 
Add an OpenPGP authentication unit test.

* tests/Makefile.am (ctests)[ENABLE_OPENPGP]: Add `openpgp-auth'.
  (TESTS_ENVIRONMENT): Add `srcdir'.

* tests/openpgp-auth.c: New file.

Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
15 years agoExplicit symmetric cipher state versionning.
Jonathan Bastien-Filiatrault [Fri, 17 Sep 2010 03:32:06 +0000 (23:32 -0400)] 
Explicit symmetric cipher state versionning.

This introduces the concept of a "cipher epoch". The epoch number is
the number of successful handshakes and is incremented by one each
time. This concept is native to DTLS and this patch makes the
symmetric cipher state explicit for TLS in preparation for DTLS. This
concept was implicit in plain TLS and ChangeCipherSpec messages
triggered a "pending state copy". Now, we the current epoch number is
simply incremented to the parameters negotiated by the handshake.

The main side effects of this patch is a slightly more abstract
internal API and, in some cases, simpler code. The session blob format
is also changed a bit since this patch avoids storing information that
is now redundant. If this breaks library users' expectations, this
side effect can be negated.

The cipher_specs structure has been removed. The conn_state has become
record_state_st. Only symmetric cipher information is
versioned. Things such as key exchange algorithm and the master secret
are not versioned and their handling is unchanged.

I have tested this patch as much as I could. It introduces no test
suite regressions on my x64 Debian GNU/Linux system.

Do not hesitate to point out shortcomings or suggest changes. Since
this is a big diff, I am expecting this to be an iterative process.

Signed-off-by: Jonathan Bastien-Filiatrault <joe@x2a.org>
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
15 years agoAdd gnutls_assert_val idiom.
Jonathan Bastien-Filiatrault [Fri, 17 Sep 2010 03:32:05 +0000 (23:32 -0400)] 
Add gnutls_assert_val idiom.

 This warrants being made in an inline function or macro since it is
 used throughout the code. This converts 4 line repetitive blocks into
 1 line.

Signed-off-by: Jonathan Bastien-Filiatrault <joe@x2a.org>
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
15 years agoupdated for 2.11.1
Nikos Mavrogiannopoulos [Tue, 14 Sep 2010 11:34:56 +0000 (13:34 +0200)] 
updated for 2.11.1

15 years agoAdded 3 levels of details in PKCS #11 URLs.
Nikos Mavrogiannopoulos [Fri, 10 Sep 2010 13:36:50 +0000 (15:36 +0200)] 
Added 3 levels of details in PKCS #11 URLs.
1st level: Token level. Object is unique up to token.
2nd level: Object is unique up to token and module used to access it.
3rd level: Object is unique up to token and module and version of module used to access it.

15 years agoDocumented changes.
Nikos Mavrogiannopoulos [Fri, 10 Sep 2010 13:27:53 +0000 (15:27 +0200)] 
Documented changes.

15 years agoBe liberal in the PEM decoding. That is spaces and tabs are being skipped.
Nikos Mavrogiannopoulos [Fri, 10 Sep 2010 13:25:47 +0000 (15:25 +0200)] 
Be liberal in the PEM decoding. That is spaces and tabs are being skipped.

15 years agoFully mbufferize _gnutls_read and _gnutls_read_buffered.
Jonathan Bastien-Filiatrault [Wed, 8 Sep 2010 22:34:47 +0000 (18:34 -0400)] 
Fully mbufferize _gnutls_read and _gnutls_read_buffered.

Signed-off-by: Jonathan Bastien-Filiatrault <joe@x2a.org>
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
15 years agombuffers: Add _mbuffer_xfree operation.
Jonathan Bastien-Filiatrault [Wed, 8 Sep 2010 22:34:46 +0000 (18:34 -0400)] 
mbuffers: Add _mbuffer_xfree operation.

Signed-off-by: Jonathan Bastien-Filiatrault <joe@x2a.org>
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
15 years agombuffers: make _gnutls_io_read_buffered use mbuffers.
Jonathan Bastien-Filiatrault [Wed, 8 Sep 2010 22:34:45 +0000 (18:34 -0400)] 
mbuffers: make _gnutls_io_read_buffered use mbuffers.

This will be needed by the DTLS code to make sure reads are stored in
segments that correspond to datagram boundaries.

Signed-off-by: Jonathan Bastien-Filiatrault <joe@x2a.org>
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
15 years agoParenthesize size calculations.
Jonathan Bastien-Filiatrault [Wed, 8 Sep 2010 22:34:44 +0000 (18:34 -0400)] 
Parenthesize size calculations.

This is standard practice and the DTLS code got bit by this.

Signed-off-by: Jonathan Bastien-Filiatrault <joe@x2a.org>
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
15 years agombuffers: Add mbuffer_linearize.
Jonathan Bastien-Filiatrault [Wed, 8 Sep 2010 22:34:43 +0000 (18:34 -0400)] 
mbuffers: Add mbuffer_linearize.

Signed-off-by: Jonathan Bastien-Filiatrault <joe@x2a.org>
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
15 years agombuffers: fix wrong size calculation.
Jonathan Bastien-Filiatrault [Wed, 8 Sep 2010 22:34:42 +0000 (18:34 -0400)] 
mbuffers: fix wrong size calculation.

maximum_size is the maximum size of the payload, not including
overhead.

Signed-off-by: Jonathan Bastien-Filiatrault <joe@x2a.org>
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
15 years agombuffers: Make _mbuffer_remove_bytes return a meaningful error code.
Jonathan Bastien-Filiatrault [Wed, 8 Sep 2010 22:34:41 +0000 (18:34 -0400)] 
mbuffers: Make _mbuffer_remove_bytes return a meaningful error code.

Signed-off-by: Jonathan Bastien-Filiatrault <joe@x2a.org>
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
15 years agombuffers: Document the internal mbuffer API.
Jonathan Bastien-Filiatrault [Wed, 8 Sep 2010 22:34:40 +0000 (18:34 -0400)] 
mbuffers: Document the internal mbuffer API.

After a year of not hacking GnuTLS, I needed to look at the code to
know how mbuffers work. This will make it much easier for anybody not
familiar with this code.

Signed-off-by: Jonathan Bastien-Filiatrault <joe@x2a.org>
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
15 years agoupdated NEWS.
Nikos Mavrogiannopoulos [Wed, 8 Sep 2010 12:43:41 +0000 (14:43 +0200)] 
updated NEWS.

15 years agoPKCS#11 URL support updated to conform to draft-pechanec-pkcs11uri-02.
Nikos Mavrogiannopoulos [Wed, 8 Sep 2010 12:14:46 +0000 (14:14 +0200)] 
PKCS#11 URL support updated to conform to draft-pechanec-pkcs11uri-02.
Now in the URL the pkcs11 provider library (module) can be specified thus restricting
objects within a single provider.

15 years agoWhen the %COMPAT flag is specified, larger records that would otherwise violate the...
Nikos Mavrogiannopoulos [Wed, 1 Sep 2010 16:56:54 +0000 (18:56 +0200)] 
When the %COMPAT flag is specified, larger records that would otherwise violate the TLS spec, are accepted.

15 years agoShow which option is the default for command line tools.
Brad Hards [Sat, 28 Aug 2010 02:21:51 +0000 (12:21 +1000)] 
Show which option is the default for command line tools.

We use "y/N" is most places - this just adapts two places that use "Y/N"
to match the behavior of read_yesno().

Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>