diff options
Diffstat (limited to 'src/lib/libssl/src/apps/apps.h')
-rw-r--r-- | src/lib/libssl/src/apps/apps.h | 12 |
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, | |||
141 | int WIN32_rename(char *oldname,char *newname); | 141 | int 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)) | ||
147 | int 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 |
155 | CONF *config=NULL; | 149 | CONF *config=NULL; |
156 | BIO *bio_err=NULL; | 150 | BIO *bio_err=NULL; |
151 | int in_FIPS_mode=0; | ||
157 | #else | 152 | #else |
158 | extern CONF *config; | 153 | extern CONF *config; |
159 | extern BIO *bio_err; | 154 | extern BIO *bio_err; |
155 | extern int in_FIPS_mode; | ||
160 | #endif | 156 | #endif |
161 | 157 | ||
162 | #else | 158 | #else |
@@ -165,6 +161,7 @@ extern BIO *bio_err; | |||
165 | extern CONF *config; | 161 | extern CONF *config; |
166 | extern char *default_config_file; | 162 | extern char *default_config_file; |
167 | extern BIO *bio_err; | 163 | extern BIO *bio_err; |
164 | extern int in_FIPS_mode; | ||
168 | 165 | ||
169 | #endif | 166 | #endif |
170 | 167 | ||
@@ -313,6 +310,7 @@ typedef struct ca_db_st | |||
313 | BIGNUM *load_serial(char *serialfile, int create, ASN1_INTEGER **retai); | 310 | BIGNUM *load_serial(char *serialfile, int create, ASN1_INTEGER **retai); |
314 | int save_serial(char *serialfile, char *suffix, BIGNUM *serial, ASN1_INTEGER **retai); | 311 | int save_serial(char *serialfile, char *suffix, BIGNUM *serial, ASN1_INTEGER **retai); |
315 | int rotate_serial(char *serialfile, char *new_suffix, char *old_suffix); | 312 | int rotate_serial(char *serialfile, char *new_suffix, char *old_suffix); |
313 | int rand_serial(BIGNUM *b, ASN1_INTEGER *ai); | ||
316 | CA_DB *load_index(char *dbfile, DB_ATTR *dbattr); | 314 | CA_DB *load_index(char *dbfile, DB_ATTR *dbattr); |
317 | int index_index(CA_DB *db); | 315 | int index_index(CA_DB *db); |
318 | int save_index(char *dbfile, char *suffix, CA_DB *db); | 316 | int 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 |