Mercurial > pidgin
comparison libpurple/plugins/ssl/ssl-gnutls.c @ 23276:b87ce62751a2
I can't think of any reason we would need to use the zero versions of
these functions.
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Tue, 03 Jun 2008 05:18:52 +0000 |
parents | a890a1574703 |
children | e39cafdbe089 |
comparison
equal
deleted
inserted
replaced
23275:d9767a3993af | 23276:b87ce62751a2 |
---|---|
52 some bugs */ | 52 some bugs */ |
53 /* TODO: It may be necessary to wrap this allocators for GnuTLS. | 53 /* TODO: It may be necessary to wrap this allocators for GnuTLS. |
54 If there are strange bugs, perhaps look here (yes, I am a | 54 If there are strange bugs, perhaps look here (yes, I am a |
55 hypocrite) */ | 55 hypocrite) */ |
56 gnutls_global_set_mem_functions( | 56 gnutls_global_set_mem_functions( |
57 (gnutls_alloc_function) g_malloc0, /* malloc */ | 57 (gnutls_alloc_function) g_malloc, /* malloc */ |
58 (gnutls_alloc_function) g_malloc0, /* secure malloc */ | 58 (gnutls_alloc_function) g_malloc, /* secure malloc */ |
59 NULL, /* mem_is_secure */ | 59 NULL, /* mem_is_secure */ |
60 (gnutls_realloc_function) g_realloc, /* realloc */ | 60 (gnutls_realloc_function) g_realloc, /* realloc */ |
61 (gnutls_free_function) g_free /* free */ | 61 (gnutls_free_function) g_free /* free */ |
62 ); | 62 ); |
63 | 63 |