Small issue on GnuTLS 2.10.2
Dagobert Michelsen
dam at opencsw.org
Thu Sep 30 14:29:33 CEST 2010
Hi Simon,
I just encountered a small issue when compiling GnuTLS 2.10.2 on
Solaris 9 with Sun Studio 12:
- Method declared void returns something:
> diff --git a/lib/crypto-api.c b/lib/crypto-api.c
> index 183fcb3..e6a4a5a 100644
> --- a/lib/crypto-api.c
> +++ b/lib/crypto-api.c
> @@ -182,7 +182,7 @@ gnutls_hmac (gnutls_hmac_hd_t handle, const void
> *text, size_t textlen)
> void
> gnutls_hmac_output (gnutls_hmac_hd_t handle, void *digest)
> {
> - return _gnutls_hmac_output ((digest_hd_st *) handle, digest);
> + _gnutls_hmac_output ((digest_hd_st *) handle, digest);
> }
>
> /**
> @@ -303,7 +303,7 @@ gnutls_hash (gnutls_hash_hd_t handle, const void
> *text, size_t textlen)
> void
> gnutls_hash_output (gnutls_hash_hd_t handle, void *digest)
> {
> - return _gnutls_hash_output ((digest_hd_st *) handle, digest);
> + _gnutls_hash_output ((digest_hd_st *) handle, digest);
> }
>
> /**
Additionally, I get a lot of errors when processing the documentation:
> /home/dam/mgar/pkg/gnutls/trunk/work/solaris9-sparc/build-isa-
> sparcv8/gnutls-2.10.2/doc//gnutls-api.texi:8: Misplaced {.
> /home/dam/mgar/pkg/gnutls/trunk/work/solaris9-sparc/build-isa-
> sparcv8/gnutls-2.10.2/doc//gnutls-api.texi:8: Misplaced }.
> /home/dam/mgar/pkg/gnutls/trunk/work/solaris9-sparc/build-isa-
> sparcv8/gnutls-2.10.2/doc//gnutls-api.texi:11: Misplaced {.
> /home/dam/mgar/pkg/gnutls/trunk/work/solaris9-sparc/build-isa-
> sparcv8/gnutls-2.10.2/doc//gnutls-api.texi:11: Misplaced }.
> /home/dam/mgar/pkg/gnutls/trunk/work/solaris9-sparc/build-isa-
> sparcv8/gnutls-2.10.2/doc//gnutls-api.texi:11: Misplaced {.
> /home/dam/mgar/pkg/gnutls/trunk/work/solaris9-sparc/build-isa-
> sparcv8/gnutls-2.10.2/doc//gnutls-api.texi:11: Misplaced }.
> /home/dam/mgar/pkg/gnutls/trunk/work/solaris9-sparc/build-isa-
> sparcv8/gnutls-2.10.2/doc//gnutls-api.texi:13: Misplaced {.
> /home/dam/mgar/pkg/gnutls/trunk/work/solaris9-sparc/build-isa-
> sparcv8/gnutls-2.10.2/doc//gnutls-api.texi:13: Misplaced }.
> /home/dam/mgar/pkg/gnutls/trunk/work/solaris9-sparc/build-isa-
> sparcv8/gnutls-2.10.2/doc//gnutls-api.texi:19: Misplaced {.
> /home/dam/mgar/pkg/gnutls/trunk/work/solaris9-sparc/build-isa-
> sparcv8/gnutls-2.10.2/doc//gnutls-api.texi:19: Misplaced }.
> /home/dam/mgar/pkg/gnutls/trunk/work/solaris9-sparc/build-isa-
> sparcv8/gnutls-2.10.2/doc//gnutls-api.texi:22: Misplaced {.
> /home/dam/mgar/pkg/gnutls/trunk/work/solaris9-sparc/build-isa-
> sparcv8/gnutls-2.10.2/doc//gnutls-api.texi:22: Misplaced }.
> /home/dam/mgar/pkg/gnutls/trunk/work/solaris9-sparc/build-isa-
> sparcv8/gnutls-2.10.2/doc//gnutls-api.texi:23: Misplaced {.
> /home/dam/mgar/pkg/gnutls/trunk/work/solaris9-sparc/build-isa-
> sparcv8/gnutls-2.10.2/doc//gnutls-api.texi:23: Misplaced }.
> /home/dam/mgar/pkg/gnutls/trunk/work/solaris9-sparc/build-isa-
> sparcv8/gnutls-2.10.2/doc//gnutls-api.texi:30: Misplaced {.
> /home/dam/mgar/pkg/gnutls/trunk/work/solaris9-sparc/build-isa-
> sparcv8/gnutls-2.10.2/doc//gnutls-api.texi:30: Misplaced }.
> /home/dam/mgar/pkg/gnutls/trunk/work/solaris9-sparc/build-isa-
> sparcv8/gnutls-2.10.2/doc//gnutls-api.texi:36: Misplaced {.
> /home/dam/mgar/pkg/gnutls/trunk/work/solaris9-sparc/build-isa-
> sparcv8/gnutls-2.10.2/doc//gnutls-api.texi:36: Misplaced }.
> ...
Best regards
-- Dago
More information about the Gnutls-devel
mailing list