summaryrefslogtreecommitdiff
path: root/src/lib/libssl/src/apps/apps.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libssl/src/apps/apps.h')
-rw-r--r--src/lib/libssl/src/apps/apps.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/lib/libssl/src/apps/apps.h b/src/lib/libssl/src/apps/apps.h
index 8a9c4ab0a0..4320410dad 100644
--- a/src/lib/libssl/src/apps/apps.h
+++ b/src/lib/libssl/src/apps/apps.h
@@ -141,12 +141,6 @@ long app_RAND_load_files(char *file); /* `file' is a list of files to read,
141int WIN32_rename(char *oldname,char *newname); 141int WIN32_rename(char *oldname,char *newname);
142#endif 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))
147int VMS_strcasecmp(const char *str1, const char *str2);
148#endif
149
150#ifndef MONOLITH 144#ifndef MONOLITH
151 145
152#define MAIN(a,v) main(a,v) 146#define MAIN(a,v) main(a,v)
@@ -154,9 +148,11 @@ int VMS_strcasecmp(const char *str1, const char *str2);
154#ifndef NON_MAIN 148#ifndef NON_MAIN
155CONF *config=NULL; 149CONF *config=NULL;
156BIO *bio_err=NULL; 150BIO *bio_err=NULL;
151int in_FIPS_mode=0;
157#else 152#else
158extern CONF *config; 153extern CONF *config;
159extern BIO *bio_err; 154extern BIO *bio_err;
155extern int in_FIPS_mode;
160#endif 156#endif
161 157
162#else 158#else
@@ -165,6 +161,7 @@ extern BIO *bio_err;
165extern CONF *config; 161extern CONF *config;
166extern char *default_config_file; 162extern char *default_config_file;
167extern BIO *bio_err; 163extern BIO *bio_err;
164extern int in_FIPS_mode;
168 165
169#endif 166#endif
170 167
@@ -313,6 +310,7 @@ typedef struct ca_db_st
313BIGNUM *load_serial(char *serialfile, int create, ASN1_INTEGER **retai); 310BIGNUM *load_serial(char *serialfile, int create, ASN1_INTEGER **retai);
314int save_serial(char *serialfile, char *suffix, BIGNUM *serial, ASN1_INTEGER **retai); 311int save_serial(char *serialfile, char *suffix, BIGNUM *serial, ASN1_INTEGER **retai);
315int rotate_serial(char *serialfile, char *new_suffix, char *old_suffix); 312int rotate_serial(char *serialfile, char *new_suffix, char *old_suffix);
313int rand_serial(BIGNUM *b, ASN1_INTEGER *ai);
316CA_DB *load_index(char *dbfile, DB_ATTR *dbattr); 314CA_DB *load_index(char *dbfile, DB_ATTR *dbattr);
317int index_index(CA_DB *db); 315int index_index(CA_DB *db);
318int save_index(char *dbfile, char *suffix, CA_DB *db); 316int save_index(char *dbfile, char *suffix, CA_DB *db);
@@ -341,4 +339,6 @@ X509_NAME *do_subject(char *str, long chtype);
341 339
342#define APP_PASS_LEN 1024 340#define APP_PASS_LEN 1024
343 341
342#define SERIAL_RAND_BITS 64
343
344#endif 344#endif