md5 in inline C
Poul-Henning Kamp
phk at phk.freebsd.dk
Wed Jan 5 15:29:56 CET 2011
In message <AANLkTim6Pz=b7901kRGgGXKH4qQiQaoPjaDsPms07oR- at mail.gmail.com>, dwi
kristianto writes:
>hello all,
>
>is there any easy way to use md5 with varnish VCL inline C?'
>
>i've tried this code with no luck.
>at sub vcl_recv:
>#include <openssl/ssl.h>
>#include <openssl/ssl3.h>
You need to put the includes outside sub vcl_recv{}
Varnish 3.0 will have support for loadable modules ("VMOD") and one
of the ones I hope to see is one contaning common hash functions
like MD5 etc.
--
Poul-Henning Kamp | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG | TCP/IP since RFC 956
FreeBSD committer | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.
More information about the varnish-misc
mailing list