remove redundant functions
[openssl.git] / engines / e_sureware.c
index 89f708661d2c5d057d64c418a581ec0d4713d9c5..9c2279c1957df28f0452cbcf767ca30b4297fa8b 100644 (file)
 ====================================================================*/
 
 #include <stdio.h>
-#include "cryptlib.h"
+#include <string.h>
 #include <openssl/crypto.h>
 #include <openssl/pem.h>
 #include <openssl/dso.h>
-#include "eng_int.h"
-#include "engine.h"
 #include <openssl/engine.h>
 
 #ifndef OPENSSL_NO_HW
@@ -69,7 +67,7 @@
 #endif
 
 #define SUREWARE_LIB_NAME "sureware engine"
-#include "hw_sureware_err.c"
+#include "e_sureware_err.c"
 
 static int surewarehk_ctrl(ENGINE *e, int cmd, long i, void *p, void (*f)());
 static int surewarehk_destroy(ENGINE *e);
@@ -278,7 +276,7 @@ static int bind_sureware(ENGINE *e)
        return 1;
 }
 
-#ifdef ENGINE_DYNAMIC_SUPPORT
+#ifndef OPENSSL_NO_DYNAMIC_ENGINE
 static int bind_helper(ENGINE *e, const char *id)
        {
        if(id && (strcmp(id, engine_sureware_id) != 0))