gnutls-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: branch master?


From: Simon Josefsson
Subject: Re: branch master?
Date: Wed, 14 Apr 2010 15:34:15 +0200
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.1 (gnu/linux)

Simon Josefsson <address@hidden> writes:

> I'd like to get master in a buildable state and release 2.9.10 as a
> release candidate for 2.10.x before branching.  There is some stuff that
> needs cleaning up before a release (e.g., code indentation, fix
> cross-platform issues), and forward-porting those changes to the next
> devel branch will be quite tedious...

I've pushed several fixes to master now, so we are getting closer...

One of the things I want to clean up was the use of 'int' to specify
data lengths in _some_ of the new crypto APIs:

int gnutls_cipher_encrypt (const gnutls_cipher_hd_t handle,
                           void *text, int textlen);

Some of the new APIs use size_t instead:

int gnutls_hmac (gnutls_hmac_hd_t handle, const void *text, size_t textlen);

I believe all of them should use 'size_t' -- it is the proper type to
use for data lengths in C.  Nikos, what do you think?  I'd appreciate if
you could fix this, but I'll get to it eventually.

/Simon




reply via email to

[Prev in Thread] Current Thread [Next in Thread]