/usr/include/rutil/ssl/OpenSSLInit.hxx is in libresiprocate-1.9-dev 1.9.6-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 | #if !defined(RESIP_OPENSSLINIT_HXX)
#define RESIP_OPENSSLINIT_HXX
#if defined(HAVE_CONFIG_H)
#include "config.h"
#endif
#include "rutil/Mutex.hxx"
#include "rutil/RWMutex.hxx"
#include "rutil/Data.hxx"
#include <cassert>
#include <vector>
// This will not be built or installed if USE_SSL is not defined; if you are
// building against a source tree, and including this, and getting linker
// errors, the source tree was probably built with this flag off. Either stop
// including this file, or re-build the source tree with SSL enabled.
//#ifdef USE_SSL
struct CRYPTO_dynlock_value
{
resip::Mutex* mutex;
};
extern "C"
{
void resip_OpenSSLInit_lockingFunction(int mode, int n, const char* file, int line);
unsigned long resip_OpenSSLInit_threadIdFunction();
CRYPTO_dynlock_value* resip_OpenSSLInit_dynCreateFunction(char* file, int line);
void resip_OpenSSLInit_dynDestroyFunction(CRYPTO_dynlock_value*, const char* file, int line);
void resip_OpenSSLInit_dynLockFunction(int mode, struct CRYPTO_dynlock_value*, const char* file, int line);
}
namespace resip
{
class OpenSSLInit
{
public:
static bool init();
private:
OpenSSLInit();
~OpenSSLInit();
friend void ::resip_OpenSSLInit_lockingFunction(int mode, int n, const char* file, int line);
friend unsigned long ::resip_OpenSSLInit_threadIdFunction();
friend CRYPTO_dynlock_value* ::resip_OpenSSLInit_dynCreateFunction(char* file, int line);
friend void ::resip_OpenSSLInit_dynDestroyFunction(CRYPTO_dynlock_value*, const char* file, int line);
friend void ::resip_OpenSSLInit_dynLockFunction(int mode, struct CRYPTO_dynlock_value*, const char* file, int line);
static Mutex* mMutexes;
static volatile bool mInitialized;
};
static bool invokeOpenSSLInit = OpenSSLInit::init();
}
//#endif
#endif
|