Created attachment 286297 [details, diff] patch to unify ssl and gcrypt flags ssl and gcrypt are actually intermingled in the wireshark source code. Trying to make them separate flag just does not build. So the attached patch just puts everything under the ssl use flag.
Last time I've checked it built and looking in the source made me think different. What version you have failure with? Please, attach, build.log. Thanks.
1.4.8 and 1.4.9 If you look in dissectors/packet-ssl-utils.c, look for gcry_md_open(), it is protected by "#ifdef HAVE_LIBGNUTLS", not HAVE_LIBGCRYPT.. Just trying building with with USE="ssl -gcrypt", and you'll see it doesn't build.
Olivier, please, test wireshark-1.6.4. Actually having USE="ssl -gcrypt" is my default setup and so far I had no problems to build wireshark. Finally, please, ATTACH build.log.