~brianaker/gearmand/ssl-update

« back to all changes in this revision

Viewing changes to libtest/is_local.cc

  • Committer: Continuous Integration
  • Date: 2013-08-09 19:42:53 UTC
  • mfrom: (847.2.5 gearmand-1.2)
  • Revision ID: ci@tangent.org-20130809194253-7qi3duw695qkhlwz
Merge lp:~brianaker/gearmand/ssl-update Build: jenkins-Gearmand-817

Show diffs side-by-side

added added

removed removed

Lines of Context:
37
37
#include "libtest/yatlcon.h"
38
38
#include <libtest/common.h>
39
39
 
 
40
#include "libgearman/ssl.h"
 
41
 
40
42
 
41
43
namespace libtest {
42
44
 
59
61
static bool _is_ssl= false;
60
62
void is_ssl(bool arg)
61
63
{
 
64
  (void)arg;
 
65
#if defined(HAVE_SSL)
62
66
  _is_ssl= arg;
 
67
#endif // defined(HAVE_SSL)
63
68
 
64
69
  if (_is_ssl)
65
70
  {