Commit 2545db37 authored by smorlat's avatar smorlat
Browse files

fix compilation problems when not having ssl.



git-svn-id: svn+ssh://svn.savannah.nongnu.org/linphone/trunk@233 3f6dc0c8-ddfe-455d-9043-3cd528dc4637
parent aa173d77
......@@ -233,6 +233,8 @@ if test $GCC = yes && test $wall_werror = yes; then
CFLAGS="$CFLAGS -Werror "
fi
AC_CHECK_HEADERS(openssl/hmac.h openssl/md5.h)
AC_CHECK_LIB(ssl,SSL_CTX_new,[SSL_LIBS="-lssl"])
AC_CHECK_LIB(crypto,MD5,[SSL_LIBS="$SSL_LIBS -lcrypto"])
......
......@@ -67,6 +67,10 @@
*
*/
#ifdef HAVE_CONFIG_H
#include "ortp-config.h"
#endif
#ifndef _WIN32_WCE
#include <errno.h>
#endif
......@@ -99,13 +103,9 @@
#endif
//#define NOSSL
/*
#if defined(__sparc__) || defined(WIN32)
#define NOSSL
#endif
#define NOSSL
*/
#if !defined(HAVE_OPENSSL_HMAC_H) || !defined(HAVE_OPENSSL_MD5_H)
#define NOSSL 1
#endif
#include "ortp/stun_udp.h"
#include "ortp/stun.h"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment