summaryrefslogtreecommitdiff
path: root/guile/src
Commit message (Collapse)AuthorAgeFilesLines
* guile: Implement session record ports using the Guile 2.2 API.tmp-guile2.2Ludovic Courtès2016-10-051-5/+82
| | | | | | | | | | | | | | This allows the Guile bindings to be built and used with Guile >= 2.1.4, which introduced a new port API. * guile/src/core.c (USING_GUILE_BEFORE_2_2): New macro. (session_record_port_type) [!USING_GUILE_BEFORE_2_2]: New definition. (read_from_session_record_port, write_to_session_record_port) (make_session_record_port) [!USING_GUILE_BEFORE_2_2]: New functions. Conditionalize the other same-named functions on USING_GUILE_BEFORE_2_2. (scm_init_gnutls_session_record_port_type): Use 'read_from_session_record_port' when !USING_GUILE_BEFORE_2_2.
* doc updateNikos Mavrogiannopoulos2016-09-111-1/+1
|
* guile: build: Make silent rules actually quiet.Ludovic Courtès2016-02-151-10/+10
| | | | | | * guile/Makefile.am (.in.scm): Use $(AM_V_GEN) and $(AM_V_at). * guile/src/Makefile.am (enums.h, enum-map.i.c) (smobs.h, smob-types.i.c, %.x): Likewise.
* guile: Link with '-no-undefined'.Ludovic Courtès2014-12-111-1/+5
| | | | | | | | Fixes builds on MinGW. Reported by Eli Zaretskii <eliz@gnu.org>. * guile/src/Makefile.am (guile_gnutls_v_2_la_LDFLAGS): Add -no-undefined.
* guile: Build with warnings.Ludovic Courtès2014-12-041-1/+7
| | | | | * guile/src/Makefile.am (AM_CFLAGS) [HAVE_GCC]: Add -Wall -Wextra -Wno-unused-parameter.
* guile: Remove the deprecated priority API.Ludovic Courtès2014-12-043-69/+3
| | | | | | | | | | | | | | * guile/modules/gnutls/build/priorities.scm: Remove. * guile/src/make-session-priorities.scm: Remove. * guile/modules/Makefile.am (EXTRA_DIST): Adjust accordingly. * guile/src/Makefile.am (EXTRA_DIST): Likewise. (GENERATED_BINDINGS): Remove 'priorities.i.c'. (priorities.i.c): Remove target. * guile/src/core.c: Don't include it. (scm_gnutls_set_default_priority_x): Remove. * guile/modules/gnutls.in (gnutls): Adjust export list. * guile/tests/session-record-port.scm: Use 'set-session-priorities!'. * guile/tests/x509-auth.scm: Likewise.
* guile: Remove RSA parameters and related procedures.Ludovic Courtès2014-12-041-122/+0
| | | | | | | | | | | | | | | | | * guile/modules/gnutls/build/smobs.scm (%rsa-parameters-smob): Remove. (%gnutls-smobs): Remove it. * guile/src/core.c (scm_gnutls_make_rsa_parameters, scm_gnutls_pkcs1_import_rsa_parameters, scm_gnutls_pkcs1_export_rsa_parameters, scm_gnutls_set_certificate_credentials_rsa_export_params_x): Remove. * guile/modules/gnutls.in: Adjust export list. * guile/tests/openpgp-auth.scm (import-rsa-params): Remove. Remove references to it and to 'set-certificate-credentials-rsa-export-parameters!'. * guile/tests/x509-auth.scm: Likewise. * doc/gnutls-guile.texi (Representation of Binary Data): Remove references to RSA parameters. Adjust example accordingly. (OpenPGP Authentication Guile Example): Likewise.
* guile: Remove trailing zero in 'gnutls_server_name_set' call.Ludovic Courtès2014-10-141-1/+1
| | | | | | In GnuTLS 3.2.19 (and possibly 3.3.9 and 3.1.17), 'set-session-server-name!' would pass a trailing nul character on the wire after the server name, which would thus be rejected by servers.
* guile: Restore cross-reference in 'set-session-priorities!' docstring.Ludovic Courtès2014-09-221-5/+6
| | | | This had been destroyed in 32d90395.
* guile: Add bindings for 'gnutls_server_name_set'.Ludovic Courtès2014-09-221-1/+33
| | | | | This adds the 'set-session-server-name!' procedure and the 'server-name-type' enum type.
* do not override gnutls' allocation functionsNikos Mavrogiannopoulos2014-04-191-5/+0
| | | | | That was not being done using the API, and overriding them is no longer possible in 3.3.x.
* guile: Fix possible stack overflows.Ludovic Courtès2013-10-091-1/+1
|
* guile: Use intermediary files when generating code.Ludovic Courtès2013-09-151-5/+10
|
* guile: Make builds parallel-safe.Ludovic Courtès2013-09-151-2/+5
| | | | Reported by Andreas Metzler <ametzler@bebt.de>.
* guile: Keep a weak reference on objects aggregated by other objects.Ludovic Courtès2013-06-281-1/+27
| | | | | | | | | Before, in cases such as `set-anonymous-server-dh-parameters!' where the C object beneath CRED keeps a pointer to the C object beneath DH_PARAMS, DH_PARAMS could be garbage-collected before CRED, leading to the destruction of the underlying C object. Reported by Nikos Mavrogiannopoulos <nmav@gnutls.org>.
* guile: Fix dependencies to be parallel-safe.Ludovic Courtès2012-12-011-4/+9
|
* Add gnulib -I's to guile-snarf command.Simon Josefsson2012-08-091-1/+1
|
* guile: Don't cast return value of `alloca'.Ludovic Courtès2012-01-201-17/+17
|
* Collapse and cleanup copyright information.Simon Josefsson2012-01-162-2/+2
|
* Run 'make update-copyright'.Simon Josefsson2012-01-1611-11/+11
|
* guile: Rename `libguile-gnutls-v-2.la' to `guile-gnutls-v-2.la'.Ludovic Courtès2011-11-041-4/+5
|
* guile: Install libguile-gnutls under $(libdir)/guile/X.Y.Ludovic Courtès2011-11-041-1/+1
|
* guile: Rename to `libguile-gnutls-v-2'.Ludovic Courtès2011-11-031-4/+4
|
* guile: Merge the (gnutls extra) module in (gnutls); deprecate it.Ludovic Courtès2011-11-037-610/+506
|
* Reverting "Drop guile libgnutls-extra stuff."Ludovic Courtès2011-11-031-3/+30
|
* Drop guile libgnutls-extra stuff.Simon Josefsson2011-10-281-30/+3
|
* removed extra.h header from guile code.Nikos Mavrogiannopoulos2011-10-231-1/+0
|
* removed more extra.h leftovers.Nikos Mavrogiannopoulos2011-10-211-1/+0
|
* libgnutls-extra is no more.Nikos Mavrogiannopoulos2011-10-201-3/+2
|
* guile bindings added as a separate document.Nikos Mavrogiannopoulos2011-05-271-2/+2
|
* Use a single configure.ac. This speed ups compilation andNikos Mavrogiannopoulos2011-04-081-2/+2
| | | | | reduces duplication of code (multiple gl/ libraries etc.). This saves about 2mb in distributed size (compressed).
* avoid using a freed pointer.Nikos Mavrogiannopoulos2011-04-061-2/+4
|
* Add nodes for the subsections of "The TLS Handshake Protocol".Ludovic Courtès2011-02-271-2/+2
|
* guile: Wrap `gnutls_priority_set_direct'; deprecate the old method.Ludovic Courtès2011-02-273-11/+60
|
* Indented code. Use same indentation but with -nut to avoid usage of tabs. In ↵Nikos Mavrogiannopoulos2010-12-163-535/+535
| | | | several editors tabs can be configured not to be 8 spaces and this produces artifacts with the current indentation that is a mixture of tabs and spaces.
* Fix dependencies, fixes parallel builds.Simon Josefsson2010-11-231-1/+1
| | | | Tiny patch from Graham Gower <graham.gower@gmail.com>.
* Indent (using GNU indent 2.2.11).Simon Josefsson2010-10-145-8/+8
|
* Change GNUTLS into GnuTLS.Simon Josefsson2010-05-2212-48/+48
|
* More indentation.Simon Josefsson2010-04-142-11/+13
|
* Update copyright years.Simon Josefsson2010-01-2712-12/+12
|
* Fix FSF copyright notices.Simon Josefsson2010-01-277-7/+7
|
* Indent code.Simon Josefsson2009-11-051-5/+5
|
* guile: Adjust for Guile 1.9.3+.Ludovic Courtès2009-09-281-2/+18
| | | | | | | | * guile/src/core.c (mark_session_record_port, free_session_record_port): Conditionalize on `SCM_MAJOR_VERSION == 1 && SCM_MINOR_VERSION <= 8'. (scm_init_gnutls_session_record_port_type): Adjust accordingly. (make_session_record_port): Use `scm_gc_malloc_pointerless ()' when available.
* guile: Syntactic nitpicking.Ludovic Courtès2009-09-281-2/+2
| | | | | * guile/src/core.c (SCM_GNUTLS_MAKE_SESSION_DATA, SCM_GNUTLS_SET_SESSION_RECORD_PORT): Remove extraneous semicolon.
* guile: Use Guile's malloc routines.Ludovic Courtès2009-09-281-3/+6
| | | | * guile/src/core.c (scm_init_gnutls): Use Guile's malloc routines.
* Fix integer/pointer cast warnings in the Guile bindings on x86_64.Ludovic Courtès2009-09-231-4/+5
| | | | | | * guile/src/core.c (do_fill_port, fill_session_record_port_input, scm_gnutls_set_session_transport_fd_x): Make sure pointer/integer casts use integers of the right size.
* Update Guile bindings to the current OpenPGP API.Ludovic Courtès2009-09-231-2/+2
| | | | | | * guile/src/extra.c (scm_gnutls_openpgp_certificate_id, scm_gnutls_openpgp_certificate_id_x): Use the newer `gnutls_openpgp_crt_get_key_id ()'.
* Turn off auto-compilation when using Guile 1.9+.Ludovic Courtès2009-09-231-2/+3
| | | | | | | | | * guile/src/Makefile.am (GUILE_FOR_BUILD): Turn off auto-compilation with Guile 1.9+. * guile/tests/Makefile.am (TESTS_ENVIRONMENT): Likewise. * doc/Makefile.am (GUILE_FOR_BUILD): Likewise.
* Fix inclusion of <config.h> in Guile bindings.Ludovic Courtès2009-09-235-9/+20
| | | | | | | | * guile/src/core.c, guile/src/errors.c, guile/src/extra.c, guile/src/utils.c: Include <config.h> first, as suggested by Simon Josefsson. * guile/src/utils.h: Don't include <config.h>.
* Really fix -I's.Simon Josefsson2008-10-301-0/+1
|