[PATCH][PULL] Add explicit feature checks

Jonathan Bastien-Filiatrault joe at x2a.org
Sat Aug 1 18:43:36 CEST 2009


As promised, I have added functions for explicit feature checks. I have
not changed version == GNUTLS_SSL3 checks since those are version checks
and not feature checks. No test-suite detectable regressions were
introduced.

Thanks for reviewing my patches.

The following changes since commit c9f5ec9d1b504e5341b660c5062729325243a633:
  Simon Josefsson (1):
        Drop .c and sort.

are available in the git repository at:

  git://x2a.org/gnutls.git version-checks

Jonathan Bastien-Filiatrault (9):
      Add version check functions for selectable PRF and extension handling.
      Add version check function for explicit IV.
      Add version check functions for non-minimal padding.
      Add version check function for selectable signature/hash
certificate algorithms.
      Remove hardcoded version checks in gnutls_handshake.c.
      Remove hardcoded version checks in gnutls_sig.c.
      Remove hardcoded version checks in gnutls_cipher.c.
      Remove hardcoded version check in gnutls_state.c.
      Remove hardcoded version checks in auth_cert.c.

 lib/auth_cert.c         |    6 +++---
 lib/gnutls_algorithms.c |   41 +++++++++++++++++++++++++++++++++++++++++
 lib/gnutls_algorithms.h |    7 +++++++
 lib/gnutls_cipher.c     |   12 ++++++------
 lib/gnutls_handshake.c  |   12 ++++++------
 lib/gnutls_sig.c        |    8 ++++----
 lib/gnutls_state.c      |    2 +-
 7 files changed, 68 insertions(+), 20 deletions(-)

Regards,
Jonathan





More information about the Gnutls-devel mailing list