~ubuntu-branches/ubuntu/maverick/openssl/maverick

« back to all changes in this revision

Viewing changes to crypto/crypto.h

  • Committer: Bazaar Package Importer
  • Author(s): Christoph Martin
  • Date: 2004-12-16 18:41:29 UTC
  • mto: (11.1.1 lenny)
  • mto: This revision was merged to the branch mainline in revision 3.
  • Revision ID: james.westby@ubuntu.com-20041216184129-z7xjkul57mh1jiha
Tags: upstream-0.9.7e
ImportĀ upstreamĀ versionĀ 0.9.7e

Show diffs side-by-side

added added

removed removed

Lines of Context:
128
128
#define CRYPTO_LOCK_ENGINE              30
129
129
#define CRYPTO_LOCK_UI                  31
130
130
#define CRYPTO_LOCK_HWCRHK              32 /* This is a HACK which will disappear in 0.9.8 */
131
 
#define CRYPTO_NUM_LOCKS                33
 
131
#define CRYPTO_LOCK_FIPS                33
 
132
#define CRYPTO_LOCK_FIPS2               34
 
133
#define CRYPTO_NUM_LOCKS                35
132
134
 
133
135
#define CRYPTO_LOCK             1
134
136
#define CRYPTO_UNLOCK           2
434
436
void OpenSSLDie(const char *file,int line,const char *assertion);
435
437
#define OPENSSL_assert(e)       ((e) ? (void)0 : OpenSSLDie(__FILE__, __LINE__, #e))
436
438
 
 
439
#ifdef OPENSSL_FIPS
 
440
int FIPS_mode(void);
 
441
void *FIPS_rand_check(void);
 
442
#endif /* def OPENSSL_FIPS */
 
443
 
437
444
/* BEGIN ERROR CODES */
438
445
/* The following lines are auto generated by the script mkerr.pl. Any changes
439
446
 * made after this point may be overwritten when the script is next run.