| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
| |
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/src/Makefile.am (AM_CFLAGS) [HAVE_GCC]: Add -Wall -Wextra
-Wno-unused-parameter.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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/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.
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
This had been destroyed in 32d90395.
|
|
|
|
|
| |
This adds the 'set-session-server-name!' procedure and the
'server-name-type' enum type.
|
|
|
|
|
| |
That was not being done using the API, and overriding them
is no longer possible in 3.3.x.
|
| |
|
| |
|
|
|
|
| |
Reported by Andreas Metzler <ametzler@bebt.de>.
|
|
|
|
|
|
|
|
|
| |
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>.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
reduces duplication of code (multiple gl/ libraries etc.).
This saves about 2mb in distributed size (compressed).
|
| |
|
| |
|
| |
|
|
|
|
| |
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.
|
|
|
|
| |
Tiny patch from Graham Gower <graham.gower@gmail.com>.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
* 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/src/core.c (SCM_GNUTLS_MAKE_SESSION_DATA,
SCM_GNUTLS_SET_SESSION_RECORD_PORT): Remove extraneous semicolon.
|
|
|
|
| |
* guile/src/core.c (scm_init_gnutls): Use Guile's malloc routines.
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
| |
* guile/src/extra.c (scm_gnutls_openpgp_certificate_id,
scm_gnutls_openpgp_certificate_id_x): Use
the newer `gnutls_openpgp_crt_get_key_id ()'.
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
| |
* 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>.
|
| |
|