~brianaker/gearmand/ssl-update

« back to all changes in this revision

Viewing changes to libgearman/ssl.h

  • 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
 
38
38
#pragma once
39
39
 
40
 
#if defined(HAVE_CYASSL) && HAVE_CYASSL
41
 
# include <cyassl/ssl.h>
 
40
#if defined(HAVE_SSL) && HAVE_SSL
 
41
 
 
42
# define SSL_ERROR_SIZE 120
 
43
 
 
44
# if defined(HAVE_CYASSL) && HAVE_CYASSL
 
45
#  include <cyassl/ssl.h>
 
46
#  include <cyassl/openssl/ssl.h>
 
47
# elif defined(HAVE_OPENSSL) && HAVE_OPENSSL
 
48
enum {
 
49
  SSL_SUCCESS= 1,
 
50
};
 
51
#  include <openssl/ssl.h>
 
52
#  include <openssl/err.h>
 
53
# endif
 
54
#else
 
55
struct SSL_CTX {
 
56
};
 
57
 
 
58
struct SSL {
 
59
};
42
60
#endif
43
61
 
44
62
#include "configmake.h"