Commit 0a6e486a authored by Kai Vehmanen's avatar Kai Vehmanen

Removed ssl headers from stun_common.h. Public headers should not have config.h dependent sections.

darcs-hash:20060328194844-56829-4cf16bc0922d968e4b0f9c5dfdb6e9955a928c34.gz
parent 41ca7959
...@@ -49,15 +49,6 @@ ...@@ -49,15 +49,6 @@
#include <arpa/inet.h> #include <arpa/inet.h>
#endif #endif
#if defined(HAVE_OPENSSL)
/* avoid krb5-related build failures */
#define OPENSSL_NO_KRB5
#include <openssl/sha.h>
#include <openssl/hmac.h>
#include <openssl/ssl.h>
#include <openssl/x509.h>
#endif
#include <sofia-sip/su.h> #include <sofia-sip/su.h>
#include <sofia-sip/su_localinfo.h> #include <sofia-sip/su_localinfo.h>
......
...@@ -48,6 +48,15 @@ ...@@ -48,6 +48,15 @@
#include "sofia-sip/stun.h" #include "sofia-sip/stun.h"
#endif #endif
#if defined(HAVE_OPENSSL)
/* avoid krb5-related build failures */
#define OPENSSL_NO_KRB5
#include <openssl/sha.h>
#include <openssl/hmac.h>
#include <openssl/ssl.h>
#include <openssl/x509.h>
#endif
#ifndef STUN_COMMON_H #ifndef STUN_COMMON_H
#include "sofia-sip/stun_common.h" #include "sofia-sip/stun_common.h"
#endif #endif
......
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