diff options
author | runge <runge> | 2007-04-07 00:48:03 +0000 |
---|---|---|
committer | runge <runge> | 2007-04-07 00:48:03 +0000 |
commit | af44bff5364d01a5b310204256a3533da3f51c31 (patch) | |
tree | 3fda9a0dca24faf579520b04f70861eddd85c8f8 /x11vnc/sslhelper.c | |
parent | 26b291bf25aca6d0cca3fbddc803f7ba8e1aead8 (diff) | |
download | libtdevnc-af44bff5364d01a5b310204256a3533da3f51c31.tar.gz libtdevnc-af44bff5364d01a5b310204256a3533da3f51c31.zip |
java ingoreProxy, fix old libssl free_func problem
Diffstat (limited to 'x11vnc/sslhelper.c')
-rw-r--r-- | x11vnc/sslhelper.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/x11vnc/sslhelper.c b/x11vnc/sslhelper.c index 635e4f5..4e557a4 100644 --- a/x11vnc/sslhelper.c +++ b/x11vnc/sslhelper.c @@ -55,6 +55,13 @@ char *find_openssl_bin(void) {badnews(); return NULL;} char *get_saved_pem(char *string, int create) {badnews(); return NULL;} #else +/* + * This is because on older systems both zlib.h and ssl.h define + * 'free_func' nothing we do below (currently) induces an external + * dependency on 'free_func'. + */ +#define free_func my_jolly_little_free_func + #include <openssl/ssl.h> #include <openssl/err.h> #include <openssl/rand.h> |