libpurple/plugins/ssl/ssl-gnutls.c

changeset 23419
4e4fb7222705
parent 21720
235394d5c7f4
child 24513
9bdc90668551
equal deleted inserted replaced
23418:d2dae4ca1309 23419:4e4fb7222705
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

mercurial