summaryrefslogtreecommitdiffstats
path: root/engines
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2016-04-12 12:20:16 +0100
committerMatt Caswell <matt@openssl.org>2016-04-13 08:59:03 +0100
commitb3599dbb6af7e28efae5f08ace99cc75f5e90b2f (patch)
tree186ce0f1525098cb18868274a2d32968a4e30945 /engines
parent974eeb93e3549d378d2c20276a51e2de21d50622 (diff)
Rename int_*() functions to *_int()
There is a preference for suffixes to indicate that a function is internal rather than prefixes. Note: the suffix is only required to disambiguate internal functions and public symbols with the same name (but different case) Reviewed-by: Tim Hudson <tjh@openssl.org> Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'engines')
-rw-r--r--engines/afalg/e_afalg.c4
-rw-r--r--engines/e_capi.c6
-rw-r--r--engines/e_dasync.c4
-rw-r--r--engines/e_padlock.c4
4 files changed, 9 insertions, 9 deletions
diff --git a/engines/afalg/e_afalg.c b/engines/afalg/e_afalg.c
index 18daa6e7f8..830e88b302 100644
--- a/engines/afalg/e_afalg.c
+++ b/engines/afalg/e_afalg.c
@@ -104,7 +104,7 @@
#define ALG_MAX_SALG_TYPE 14
# ifdef OPENSSL_NO_DYNAMIC_ENGINE
-void int_engine_load_afalg(void);
+void engine_load_afalg_int(void);
# endif
/* Local Linkage Functions */
@@ -816,7 +816,7 @@ static ENGINE *engine_afalg(void)
return ret;
}
-void int_engine_load_afalg(void)
+void engine_load_afalg_int(void)
{
ENGINE *toadd;
diff --git a/engines/e_capi.c b/engines/e_capi.c
index 20d551895a..d2b24d540e 100644
--- a/engines/e_capi.c
+++ b/engines/e_capi.c
@@ -191,7 +191,7 @@ static int cert_select_simple(ENGINE *e, SSL *ssl, STACK_OF(X509) *certs);
static int cert_select_dialog(ENGINE *e, SSL *ssl, STACK_OF(X509) *certs);
# endif
-void int_engine_load_capi(void);
+void engine_load_capi_int(void);
typedef PCCERT_CONTEXT(WINAPI *CERTDLG) (HCERTSTORE, HWND, LPCWSTR,
LPCWSTR, DWORD, DWORD, void *);
@@ -1911,8 +1911,8 @@ OPENSSL_EXPORT
IMPLEMENT_DYNAMIC_CHECK_FN()
# else
-void int_engine_load_capi(void);
-void int_engine_load_capi(void)
+void engine_load_capi_int(void);
+void engine_load_capi_int(void)
{
}
# endif
diff --git a/engines/e_dasync.c b/engines/e_dasync.c
index 61559544d8..27a5602364 100644
--- a/engines/e_dasync.c
+++ b/engines/e_dasync.c
@@ -86,7 +86,7 @@ static const char *engine_dasync_name = "Dummy Async engine support";
static int dasync_destroy(ENGINE *e);
static int dasync_init(ENGINE *e);
static int dasync_finish(ENGINE *e);
-void int_engine_load_dasync(void);
+void engine_load_dasync_int(void);
/* Set up digests. Just SHA1 for now */
@@ -347,7 +347,7 @@ static ENGINE *engine_dasync(void)
return ret;
}
-void int_engine_load_dasync(void)
+void engine_load_dasync_int(void)
{
ENGINE *toadd = engine_dasync();
if (!toadd)
diff --git a/engines/e_padlock.c b/engines/e_padlock.c
index d8f90a7f37..5bde91d65b 100644
--- a/engines/e_padlock.c
+++ b/engines/e_padlock.c
@@ -111,8 +111,8 @@ static ENGINE *ENGINE_padlock(void);
# endif
# ifdef OPENSSL_NO_DYNAMIC_ENGINE
-void int_engine_load_padlock(void);
-void int_engine_load_padlock(void)
+void engine_load_padlock_int(void);
+void engine_load_padlock_int(void)
{
/* On non-x86 CPUs it just returns. */
# ifdef COMPILE_HW_PADLOCK