summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xConfigure1
-rw-r--r--apps/app_rand.c2
-rw-r--r--apps/apps.c10
-rw-r--r--apps/asn1pars.c2
-rw-r--r--apps/ca.c21
-rw-r--r--apps/ciphers.c2
-rw-r--r--apps/crl.c4
-rw-r--r--apps/crl2p7.c2
-rw-r--r--apps/dgst.c2
-rw-r--r--apps/dh.c2
-rw-r--r--apps/dhparam.c2
-rw-r--r--apps/dsa.c2
-rw-r--r--apps/dsaparam.c2
-rw-r--r--apps/enc.c2
-rw-r--r--apps/engine.c2
-rw-r--r--apps/errstr.c2
-rw-r--r--apps/gendh.c2
-rw-r--r--apps/gendsa.c2
-rw-r--r--apps/genrsa.c2
-rw-r--r--apps/nseq.c2
-rw-r--r--apps/openssl.c6
-rw-r--r--apps/passwd.c2
-rw-r--r--apps/pkcs12.c2
-rw-r--r--apps/pkcs7.c2
-rw-r--r--apps/pkcs8.c2
-rw-r--r--apps/rand.c2
-rw-r--r--apps/req.c6
-rw-r--r--apps/rsa.c2
-rw-r--r--apps/rsautl.c2
-rw-r--r--apps/s_apps.h4
-rw-r--r--apps/s_client.c16
-rw-r--r--apps/s_server.c14
-rw-r--r--apps/s_socket.c30
-rw-r--r--apps/s_time.c8
-rw-r--r--apps/sess_id.c2
-rw-r--r--apps/smime.c2
-rw-r--r--apps/speed.c4
-rw-r--r--apps/spkac.c4
-rw-r--r--apps/x509.c4
-rw-r--r--crypto/asn1/a_gentm.c4
-rw-r--r--crypto/asn1/a_time.c2
-rw-r--r--crypto/asn1/a_utctm.c10
-rw-r--r--crypto/bf/bf_opts.c6
-rw-r--r--crypto/bf/bfspeed.c6
-rw-r--r--crypto/bio/b_sock.c12
-rw-r--r--crypto/bio/bio_cb.c2
-rw-r--r--crypto/bio/bss_acpt.c4
-rw-r--r--crypto/bio/bss_conn.c4
-rw-r--r--crypto/bio/bss_fd.c2
-rw-r--r--crypto/bio/bss_file.c4
-rw-r--r--crypto/bio/bss_log.c16
-rw-r--r--crypto/bio/bss_sock.c4
-rw-r--r--crypto/bn/bnspeed.c4
-rw-r--r--crypto/bn/bntest.c2
-rw-r--r--crypto/bn/expspeed.c4
-rw-r--r--crypto/bn/exptest.c2
-rw-r--r--crypto/bn/vms-helper.c2
-rw-r--r--crypto/cast/cast_spd.c6
-rw-r--r--crypto/cast/castopts.c6
-rw-r--r--crypto/comp/c_zlib.c6
-rw-r--r--crypto/conf/conf_def.c2
-rw-r--r--crypto/conf/conf_lib.c2
-rw-r--r--crypto/cryptlib.c10
-rw-r--r--crypto/cryptlib.h2
-rw-r--r--crypto/des/des.c22
-rw-r--r--crypto/des/des_locl.h12
-rw-r--r--crypto/des/des_opts.c8
-rw-r--r--crypto/des/destest.c6
-rw-r--r--crypto/des/read_pwd.c42
-rw-r--r--crypto/des/speed.c6
-rw-r--r--crypto/dh/dhtest.c6
-rw-r--r--crypto/dsa/dsatest.c4
-rw-r--r--crypto/dso/dso_vms.c6
-rw-r--r--crypto/dso/dso_win32.c4
-rw-r--r--crypto/err/err.c2
-rw-r--r--crypto/idea/idea_spd.c6
-rw-r--r--crypto/rand/md_rand.c2
-rw-r--r--crypto/rand/rand_egd.c2
-rw-r--r--crypto/rand/rand_unix.c2
-rw-r--r--crypto/rand/rand_vms.c2
-rw-r--r--crypto/rand/rand_win.c2
-rw-r--r--crypto/rand/randfile.c10
-rw-r--r--crypto/rc2/rc2speed.c6
-rw-r--r--crypto/rc4/rc4.c2
-rw-r--r--crypto/rc4/rc4speed.c6
-rw-r--r--crypto/rc5/rc5speed.c6
-rw-r--r--crypto/rsa/rsa_sign.c2
-rw-r--r--crypto/symhacks.h2
-rw-r--r--crypto/threads/mttest.c6
-rw-r--r--crypto/threads/th-lock.c6
-rw-r--r--crypto/tmdiff.c24
-rw-r--r--crypto/txt_db/txt_db.c6
-rw-r--r--ssl/kssl.c10
-rw-r--r--ssl/s23_clnt.c4
-rw-r--r--ssl/s23_lib.c6
-rw-r--r--ssl/s23_srvr.c6
-rw-r--r--ssl/s2_clnt.c4
-rw-r--r--ssl/s2_enc.c4
-rw-r--r--ssl/s2_lib.c4
-rw-r--r--ssl/s2_meth.c4
-rw-r--r--ssl/s2_pkt.c4
-rw-r--r--ssl/s2_srvr.c4
-rw-r--r--ssl/s3_both.c2
-rw-r--r--ssl/s3_clnt.c76
-rw-r--r--ssl/s3_lib.c52
-rw-r--r--ssl/s3_pkt.c2
-rw-r--r--ssl/s3_srvr.c46
-rw-r--r--ssl/ssl_algs.c18
-rw-r--r--ssl/ssl_cert.c29
-rw-r--r--ssl/ssl_ciph.c8
-rw-r--r--ssl/ssl_err.c4
-rw-r--r--ssl/ssl_err2.c2
-rw-r--r--ssl/ssl_lib.c20
-rw-r--r--ssl/ssl_locl.h13
-rw-r--r--ssl/ssl_rsa.c30
-rw-r--r--ssl/ssl_stat.c12
-rw-r--r--ssl/ssl_txt.c2
-rw-r--r--ssl/ssltest.c42
118 files changed, 464 insertions, 460 deletions
diff --git a/Configure b/Configure
index ada01f8236..4bab7e6518 100755
--- a/Configure
+++ b/Configure
@@ -693,7 +693,6 @@ if ($no_krb5
$cflags="-DOPENSSL_NO_KRB5 $cflags";
$options.=" no-krb5" unless $no_krb5;
$openssl_algorithm_defines .= "#define OPENSSL_NO_KRB5\n";
- $openssl_algorithm_defines .= "#define NO_KRB5\n";
}
else
{
diff --git a/apps/app_rand.c b/apps/app_rand.c
index 9d6d5fbf6f..b7b6128c1e 100644
--- a/apps/app_rand.c
+++ b/apps/app_rand.c
@@ -124,7 +124,7 @@ int app_RAND_load_file(const char *file, BIO *bio_e, int dont_warn)
int consider_randfile = (file == NULL);
char buffer[200];
-#ifdef WINDOWS
+#ifdef OPENSSL_SYS_WINDOWS
BIO_printf(bio_e,"Loading 'screen' into random state -");
BIO_flush(bio_e);
RAND_screen();
diff --git a/apps/apps.c b/apps/apps.c
index a1397a36d8..2ecb6618f5 100644
--- a/apps/apps.c
+++ b/apps/apps.c
@@ -70,7 +70,7 @@
#include <openssl/pkcs12.h>
#include <openssl/safestack.h>
-#ifdef WINDOWS
+#ifdef OPENSSL_SYS_WINDOWS
# include "bss_file.c"
#endif
@@ -184,7 +184,7 @@ int str2fmt(char *s)
return(FORMAT_UNDEF);
}
-#if defined(MSDOS) || defined(WIN32) || defined(WIN16)
+#if defined(OPENSSL_SYS_MSDOS) || defined(OPENSSL_SYS_WIN32) || defined(OPENSSL_SYS_WIN16)
void program_name(char *in, char *out, int size)
{
int i,n;
@@ -222,7 +222,7 @@ void program_name(char *in, char *out, int size)
out[n]='\0';
}
#else
-#ifdef VMS
+#ifdef OPENSSL_SYS_VMS
void program_name(char *in, char *out, int size)
{
char *p=in, *q;
@@ -258,10 +258,10 @@ void program_name(char *in, char *out, int size)
#endif
#endif
-#ifdef WIN32
+#ifdef OPENSSL_SYS_WIN32
int WIN32_rename(char *from, char *to)
{
-#ifdef WINNT
+#ifdef OPENSSL_SYS_WINNT
int ret;
/* Note: MoveFileEx() doesn't work under Win95, Win98 */
diff --git a/apps/asn1pars.c b/apps/asn1pars.c
index f25c9f84e8..108ed7daa0 100644
--- a/apps/asn1pars.c
+++ b/apps/asn1pars.c
@@ -206,7 +206,7 @@ bad:
goto end;
}
BIO_set_fp(out,stdout,BIO_NOCLOSE|BIO_FP_TEXT);
-#ifdef VMS
+#ifdef OPENSSL_SYS_VMS
{
BIO *tmpbio = BIO_new(BIO_f_linebuffe