[gnutls-devel] guile and SSL 3.0

Ludovic Courtès ludo at gnu.org
Wed Jul 27 22:49:13 CEST 2016


Hi,

Nikos Mavrogiannopoulos <n.mavrogiannopoulos at gmail.com> skribis:

>  On a fedora 24 system (with guile-2.0.11-9.fc24.x86_64), the guile
> tests crash when SSL 3.0 is disabled in gnutls. I am not sure if
> that's related to SSL3.0 removal, but only these builds occasionally
> fail.
>
> Examples on the CI (which uses fedora):
> https://gitlab.com/gnutls/gnutls/builds/2643058
> https://gitlab.com/gnutls/gnutls/builds/2642725

The above log has this:

--8<---------------cut here---------------start------------->8---
make[4]: Entering directory '/home/gitlab-runner/builds/0d36f420/1/gnutls/gnutls/build/guile'
PASS: tests/pkcs-import-export.scm
PASS: tests/errors.scm
PASS: tests/anonymous-auth.scm
PASS: tests/session-record-port.scm
PASS: tests/x509-certificates.scm
PASS: tests/openpgp-keys.scm
PASS: tests/priorities.scm
PASS: tests/x509-auth.scm
PASS: tests/openpgp-keyring.scm
PASS: tests/srp-base64.scm
../../build-aux/test-driver: line 107: 23410 Segmentation fault      (core dumped) "$@" > $log_file 2>&1
FAIL: tests/openpgp-auth.scm
--8<---------------cut here---------------end--------------->8---

I cannot reproduce it with 8098024c35f48a69ef88929ea370c0512bf235b0 when
running:

  while GUILE_WARN_DEPRECATED=no ./pre-inst-guile -L ../../guile/tests/ ../../guile/tests/openpgp-auth.scm ; do : ; done

Is there anything else I should know about the build environment or
configuration options?

> Could there be some hardcoded dependency on SSL3.0?

The generated file ‘enum-map.i.c’ refers to the
GNUTLS_A_SSL3_NO_CERTIFICATE and GNUTLS_SSL3 enum values, because they
are exported are part of the API.  If these enum values were no longer
defined, it would fail to build, but that’s all that could happen
AFAICS.

The ‘tests/priorities.scm’ file uses “-VERS-SSL3.0” in priority strings,
but I guess this shouldn’t cause any problems either.

Ludo’.



More information about the Gnutls-devel mailing list