Problem with libcrypt API
    Werner Koch 
    wk at gnupg.org
       
    Thu Aug 10 17:43:28 CEST 2006
    
    
  
On Thu, 10 Aug 2006 15:18, Aki Tuomi said:
> Any instructions, links, references, whatever will be greatly
> appreciated. 
Seems we need to answer this in the manual.
The following code should do the trick.
  if (!gcry_check_version (NEED_LIBGCRYPT_VERSION) )
    die ("libgcrypt is too old (need %s, have %s)\n",
         NEED_LIBGCRYPT_VERSION, gcry_check_version (NULL) );
  gcry_control (GCRYCTL_DISABLE_SECMEM, 0);
  gcry_control (GCRYCTL_INITIALIZATION_FINISHED, 0);
Salam-Shalom,
   Werner
    
    
More information about the Gcrypt-devel
mailing list