~morgan-s-reed/pyopenssl/mr-RSAadditions

« back to all changes in this revision

Viewing changes to src/crypto/crypto.h

  • Committer: intrinsic
  • Date: 2009-11-21 10:23:28 UTC
  • mfrom: (75.1.39 trunk)
  • Revision ID: intrinsic@athena-20091121102328-4waoekms69fbp99d
Incremental merge commit 4

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
 
30
30
extern PyObject *crypto_Error;
31
31
 
32
 
#ifdef exception_from_error_queue
33
 
#  undef exception_from_error_queue
34
 
#endif
35
 
#define exception_from_error_queue()    do { \
36
 
    PyObject *errlist = error_queue_to_list(); \
37
 
    PyErr_SetObject(crypto_Error, errlist); \
38
 
    Py_DECREF(errlist); \
39
 
} while (0)
40
 
 
41
32
#define crypto_X509_New_NUM             0
42
33
#define crypto_X509_New_RETURN          crypto_X509Obj *
43
34
#define crypto_X509_New_PROTO           (X509 *, int)