diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2013-11-12 13:12:15 +0100 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2013-11-27 11:41:42 +0100 |
commit | adc50de0b04a4d1f75af1b0a184f3a4155c9066d (patch) | |
tree | 9c79335b81aa8c2747099dae5d28c609b5036c36 /lib/gnutls_mpi.c | |
parent | 21d4cd5acdc6dc88b339724f484cec1521c8be46 (diff) | |
download | gnutls-adc50de0b04a4d1f75af1b0a184f3a4155c9066d.tar.gz |
Simplified _gnutls_mpi_release()
Diffstat (limited to 'lib/gnutls_mpi.c')
-rw-r--r-- | lib/gnutls_mpi.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/lib/gnutls_mpi.c b/lib/gnutls_mpi.c index 823d536b2d..1451e76fa8 100644 --- a/lib/gnutls_mpi.c +++ b/lib/gnutls_mpi.c @@ -102,15 +102,6 @@ _gnutls_mpi_randomize(bigint_t r, unsigned int bits, return NULL; } -void _gnutls_mpi_release(bigint_t * x) -{ - if (*x == NULL) - return; - - _gnutls_mpi_ops.bigint_release(*x); - *x = NULL; -} - /* returns %GNUTLS_E_SUCCESS (0) on success */ int _gnutls_mpi_scan(bigint_t * ret_mpi, const void *buffer, size_t nbytes) |