Remove EFENCE support.
authorRich Salz <rsalz@openssl.org>
Sat, 25 Apr 2015 20:03:07 +0000 (16:03 -0400)
committerRich Salz <rsalz@openssl.org>
Sat, 25 Apr 2015 20:03:07 +0000 (16:03 -0400)
Reviewed-by: Richard Levitte <levitte@openssl.org>
apps/ca.c
apps/srp.c

index 38c96aeb0d6b9da22e198d437ad39d8e0345c57d..218a407338e32c22298bd31118d4094074d699c2 100644 (file)
--- a/apps/ca.c
+++ b/apps/ca.c
 #define REV_KEY_COMPROMISE      3 /* Value is cert key compromise time */
 #define REV_CA_COMPROMISE       4 /* Value is CA key compromise time */
 
-#ifdef EFENCE
-extern int EF_PROTECT_FREE;
-extern int EF_PROTECT_BELOW;
-extern int EF_ALIGNMENT;
-#endif
-
 static void lookup_fail(const char *name, const char *tag);
 static int certify(X509 **xret, char *infile, EVP_PKEY *pkey, X509 *x509,
                    const EVP_MD *dgst, STACK_OF(OPENSSL_STRING) *sigopts,
@@ -313,12 +307,6 @@ int ca_main(int argc, char **argv)
     X509_REVOKED *r = NULL;
     OPTION_CHOICE o;
 
-#ifdef EFENCE
-    EF_PROTECT_FREE = 1;
-    EF_PROTECT_BELOW = 1;
-    EF_ALIGNMENT = 0;
-#endif
-
     conf = NULL;
     section = NULL;
     preserve = 0;
index 0585952440b6098d3be5f8609f0a712b0a9144cf..c62d55de2b556244f76c26b18bfbcdf39a256406 100644 (file)
 # define ENV_DATABASE            "srpvfile"
 # define ENV_DEFAULT_SRP         "default_srp"
 
-# ifdef EFENCE
-extern int EF_PROTECT_FREE;
-extern int EF_PROTECT_BELOW;
-extern int EF_ALIGNMENT;
-# endif
-
 static int get_index(CA_DB *db, char *id, char type)
 {
     char **pp;
@@ -277,12 +271,6 @@ int srp_main(int argc, char **argv)
     long errorline = -1;
     OPTION_CHOICE o;
 
-# ifdef EFENCE
-    EF_PROTECT_FREE = 1;
-    EF_PROTECT_BELOW = 1;
-    EF_ALIGNMENT = 0;
-# endif
-
     prog = opt_init(argc, argv, srp_options);
     while ((o = opt_next()) != OPT_EOF) {
         switch (o) {