mention gcrypt wrapper in README.developer

svn path=/trunk/; revision=47812
This commit is contained in:
Martin Kaiser 2013-02-21 22:24:43 +00:00
parent 91b9ecd0a0
commit 29de8baed5
1 changed files with 5 additions and 0 deletions

View File

@ -438,6 +438,11 @@ platform-dependent implementations and platform-independent APIs, such
as the routines in epan/filesystem.c, allowing the code that calls it to
be written portably without #ifdefs.
Wireshark uses libgcrypt as general-purpose crypto library. To use it from
your dissector, protect libgcrypt calls with #ifdef HAVE_LIBGCRYPT. Don't
include gcrypt.h directly, include the wrapper file wsutil/wsgcrypt.h
instead.
1.1.2 String handling
Do not use functions such as strcat() or strcpy().