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

« back to all changes in this revision

Viewing changes to apps/apps.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:
141
141
int WIN32_rename(char *oldname,char *newname);
142
142
#endif
143
143
 
144
 
/* VMS below version 7.0 doesn't have strcasecmp() */
145
 
#ifdef OPENSSL_SYS_VMS
146
 
#define strcasecmp(str1,str2) VMS_strcasecmp((str1),(str2))
147
 
int VMS_strcasecmp(const char *str1, const char *str2);
148
 
#endif
149
 
 
150
144
#ifndef MONOLITH
151
145
 
152
146
#define MAIN(a,v)       main(a,v)
154
148
#ifndef NON_MAIN
155
149
CONF *config=NULL;
156
150
BIO *bio_err=NULL;
 
151
int in_FIPS_mode=0;
157
152
#else
158
153
extern CONF *config;
159
154
extern BIO *bio_err;
 
155
extern int in_FIPS_mode;
160
156
#endif
161
157
 
162
158
#else
165
161
extern CONF *config;
166
162
extern char *default_config_file;
167
163
extern BIO *bio_err;
 
164
extern int in_FIPS_mode;
168
165
 
169
166
#endif
170
167
 
313
310
BIGNUM *load_serial(char *serialfile, int create, ASN1_INTEGER **retai);
314
311
int save_serial(char *serialfile, char *suffix, BIGNUM *serial, ASN1_INTEGER **retai);
315
312
int rotate_serial(char *serialfile, char *new_suffix, char *old_suffix);
 
313
int rand_serial(BIGNUM *b, ASN1_INTEGER *ai);
316
314
CA_DB *load_index(char *dbfile, DB_ATTR *dbattr);
317
315
int index_index(CA_DB *db);
318
316
int save_index(char *dbfile, char *suffix, CA_DB *db);
341
339
 
342
340
#define APP_PASS_LEN    1024
343
341
 
 
342
#define SERIAL_RAND_BITS        64
 
343
 
344
344
#endif