summaryrefslogtreecommitdiff
path: root/lib/gnutls_int.h
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2013-11-13 11:11:25 +0100
committerNikos Mavrogiannopoulos <nmav@redhat.com>2013-11-27 11:41:43 +0100
commit08cddacdc42434665c8f085b77391bf73acdc45c (patch)
tree5919b880d86a1373822fe855f3224c8f11fba25b /lib/gnutls_int.h
parent4cd22fecf1ff33d64a99d1d2dce4f25e4ae0fc76 (diff)
downloadgnutls-08cddacdc42434665c8f085b77391bf73acdc45c.tar.gz
overwrite temp buffers of private keys.
Diffstat (limited to 'lib/gnutls_int.h')
-rw-r--r--lib/gnutls_int.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/lib/gnutls_int.h b/lib/gnutls_int.h
index af18ace869..21d2fc938b 100644
--- a/lib/gnutls_int.h
+++ b/lib/gnutls_int.h
@@ -1053,18 +1053,4 @@ inline static size_t max_user_send_size(gnutls_session_t session,
return max;
}
-#define zrelease_mpi_key(mpi) if (*mpi!=NULL) { \
- _gnutls_mpi_clear(*mpi); \
- _gnutls_mpi_release(mpi); \
- }
-
-#ifdef ENABLE_FIPS140
-# define zeroize_temp_key(x, size) memset(x, 0, size)
-# define zrelease_temp_mpi_key zrelease_mpi_key
-#else
-# define zeroize_temp_key(x, size)
-# define zrelease_temp_mpi_key(mpi) _gnutls_mpi_release(mpi)
-#endif
-
-
#endif /* GNUTLS_INT_H */