~zseil/pyopenssl/bwcompat-c-api

« back to all changes in this revision

Viewing changes to src/crypto/pkey.c

  • Committer: Jean-Paul Calderone
  • Date: 2009-07-16 18:09:53 UTC
  • mfrom: (112.2.8 rand_bytes2)
  • Revision ID: exarkun@divmod.com-20090716180953-nltnz5hhdv8k1zdw
Add OpenSSL.rand.bytes function

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
 */
22
22
#define FAIL() \
23
23
do {                                    \
24
 
    exception_from_error_queue();       \
 
24
    exception_from_error_queue(crypto_Error); \
25
25
    return NULL;                        \
26
26
} while (0)
27
27