diff options
author | Simon Josefsson <simon@josefsson.org> | 2004-08-15 22:47:47 +0000 |
---|---|---|
committer | Simon Josefsson <simon@josefsson.org> | 2004-08-15 22:47:47 +0000 |
commit | 9d1bea6f84051366fa9fb8fcccef15eced863270 (patch) | |
tree | d4c848332114f2c0ee70d2875eb73c35216e0861 | |
parent | d3a1b80fc162d3818c5f4ef5580f5d74071e90a7 (diff) | |
download | gnutls-9d1bea6f84051366fa9fb8fcccef15eced863270.tar.gz |
Doc fix.
-rw-r--r-- | crypto/gc-nettle.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/crypto/gc-nettle.c b/crypto/gc-nettle.c index 459e42799b..fdaf521cf6 100644 --- a/crypto/gc-nettle.c +++ b/crypto/gc-nettle.c @@ -1,4 +1,4 @@ -/* gc-libgcrypt.c --- Crypto wrappers around Libgcrypt for GC. +/* gc-nettle.c --- Crypto wrappers around Nettle for GC. * Copyright (C) 2002, 2003, 2004 Simon Josefsson * * This file is part of GC. @@ -27,7 +27,7 @@ /* Get prototype. */ #include <gc.h> -/* Get libgcrypt API. */ +/* XXX GnuTLS still need Libgcrypt. */ #include <gcrypt.h> int @@ -35,6 +35,8 @@ gc_init (void) { gcry_error_t err; + /* XXX GnuTLS still need Libgcrypt. */ + err = gcry_control (GCRYCTL_ANY_INITIALIZATION_P); if (err == GPG_ERR_NO_ERROR) { @@ -61,6 +63,7 @@ gc_set_allocators (gc_malloc_t func_malloc, gc_secure_check_t secure_check, gc_realloc_t func_realloc, gc_free_t func_free) { + /* XXX GnuTLS still need Libgcrypt. */ gcry_set_allocation_handler (func_malloc, secure_malloc, secure_check, func_realloc, func_free); } |