There's really no need to use $ENV::HOME
[openssl.git] / crypto / engine / tb_store.c
index ee89133e453cb9ccf1acd53fc78a99f45b67843e..8cc435c935f225e679bdb2c5a14ad0c404930516 100644 (file)
@@ -1,5 +1,5 @@
 /* ====================================================================
- * Copyright (c) 2000 The OpenSSL Project.  All rights reserved.
+ * Copyright (c) 2003 The OpenSSL Project.  All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions
@@ -52,8 +52,6 @@
  *
  */
 
-#include <openssl/evp.h>
-#include <openssl/engine.h>
 #include "eng_int.h"
 
 /* If this symbol is defined then ENGINE_get_default_STORE(), the function that is
@@ -90,6 +88,8 @@ void ENGINE_register_all_STORE()
                ENGINE_register_STORE(e);
        }
 
+/* The following two functions are removed because they're useless. */
+#if 0
 int ENGINE_set_default_STORE(ENGINE *e)
        {
        if(e->store_meth)
@@ -97,7 +97,9 @@ int ENGINE_set_default_STORE(ENGINE *e)
                                engine_unregister_all_STORE, e, &dummy_nid, 1, 1);
        return 1;
        }
+#endif
 
+#if 0
 /* Exposed API function to get a functional reference from the implementation
  * table (ie. try to get a functional reference from the tabled structural
  * references). */
@@ -105,6 +107,7 @@ ENGINE *ENGINE_get_default_STORE(void)
        {
        return engine_table_select(&store_table, dummy_nid);
        }
+#endif
 
 /* Obtains an STORE implementation from an ENGINE functional reference */
 const STORE_METHOD *ENGINE_get_STORE(const ENGINE *e)