aboutsummaryrefslogtreecommitdiffstats
path: root/doc/README.developer
diff options
context:
space:
mode:
authorMartin Kaiser <wireshark@kaiser.cx>2013-02-21 22:24:43 +0000
committerMartin Kaiser <wireshark@kaiser.cx>2013-02-21 22:24:43 +0000
commit29de8baed54d33d30732dae602ca1d035942a622 (patch)
tree381859af78d2e78eacf2f0c05aded5d11be393f3 /doc/README.developer
parent91b9ecd0a09f4c532bf2d457c6f8837fa567e7d3 (diff)
mention gcrypt wrapper in README.developer
svn path=/trunk/; revision=47812
Diffstat (limited to 'doc/README.developer')
-rw-r--r--doc/README.developer5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/README.developer b/doc/README.developer
index 1b8ca452cd..028571b149 100644
--- a/doc/README.developer
+++ b/doc/README.developer
@@ -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().