From: Nikos Mavrogiannopoulos Date: Wed, 12 Mar 2003 21:57:46 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: gnutls_0_9_1~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2da52c02285dc4fa849e6278b0cf92be8a653417;p=thirdparty%2Fgnutls.git *** empty log message *** --- diff --git a/NEWS b/NEWS index fd1e5267c3..724948de2c 100644 --- a/NEWS +++ b/NEWS @@ -1,4 +1,4 @@ -Version 0.9.1 +Version 0.9.1 (12/03/2003) - Corrected a bug in 64 bit architectures, which affected the serial number calculation in the record layer. - Added gnutls_certificate_free_keys() which deletes all the diff --git a/libextra/gnutls_srp.c b/libextra/gnutls_srp.c index 26dbdd26d0..f8e7778837 100644 --- a/libextra/gnutls_srp.c +++ b/libextra/gnutls_srp.c @@ -197,13 +197,15 @@ GNUTLS_MPI _gnutls_calc_srp_S1(GNUTLS_MPI A, GNUTLS_MPI b, GNUTLS_MPI u, GNUTLS_ _gnutls_mpi_mulm(tmp2, A, tmp1, n); _gnutls_mpi_powm(S, tmp2, b, n); - return S; - - freeall: _gnutls_mpi_release(&tmp1); _gnutls_mpi_release(&tmp2); - return NULL; + return S; + + freeall: + _gnutls_mpi_release(&tmp1); + _gnutls_mpi_release(&tmp2); + return NULL; } /* A = g^a % N