From branch OpenSSL_0_9_7-stable, 2002-11-13 15:30:
The loading functions should be static if we build a dynamic engine.
This commit is contained in:
parent
d2284ab5d1
commit
37e27219f2
3 changed files with 12 additions and 3 deletions
|
@ -103,7 +103,7 @@ static int cluster_labs_rsa_mod_exp(BIGNUM *r0, const BIGNUM *I, RSA *rsa);
|
||||||
|
|
||||||
/* DSA stuff */
|
/* DSA stuff */
|
||||||
#ifndef OPENSSL_NO_DSA
|
#ifndef OPENSSL_NO_DSA
|
||||||
DSA_SIG *cluster_labs_dsa_sign(const unsigned char *dgst, int dlen, DSA *dsa);
|
static DSA_SIG *cluster_labs_dsa_sign(const unsigned char *dgst, int dlen, DSA *dsa);
|
||||||
static int cluster_labs_dsa_verify(const unsigned char *dgst, int dgst_len,
|
static int cluster_labs_dsa_verify(const unsigned char *dgst, int dgst_len,
|
||||||
DSA_SIG *sig, DSA *dsa);
|
DSA_SIG *sig, DSA *dsa);
|
||||||
static int cluster_labs_dsa_mod_exp(DSA *dsa, BIGNUM *rr, BIGNUM *a1,
|
static int cluster_labs_dsa_mod_exp(DSA *dsa, BIGNUM *rr, BIGNUM *a1,
|
||||||
|
@ -245,6 +245,9 @@ static ENGINE *engine_cluster_labs(void)
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef ENGINE_DYNAMIC_SUPPORT
|
||||||
|
static
|
||||||
|
#endif
|
||||||
void ENGINE_load_cluster_labs(void)
|
void ENGINE_load_cluster_labs(void)
|
||||||
{
|
{
|
||||||
|
|
||||||
|
@ -504,7 +507,7 @@ static int cluster_labs_rsa_mod_exp(BIGNUM *r0, const BIGNUM *I, RSA *rsa)
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
DSA_SIG *cluster_labs_dsa_sign(const unsigned char *dgst, int dlen, DSA *dsa)
|
static DSA_SIG *cluster_labs_dsa_sign(const unsigned char *dgst, int dlen, DSA *dsa)
|
||||||
{
|
{
|
||||||
|
|
||||||
if(cluster_labs_dso == NULL)
|
if(cluster_labs_dso == NULL)
|
||||||
|
|
|
@ -288,6 +288,9 @@ static ENGINE *engine_ibmca(void)
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef ENGINE_DYNAMIC_SUPPORT
|
||||||
|
static
|
||||||
|
#endif
|
||||||
void ENGINE_load_ibmca(void)
|
void ENGINE_load_ibmca(void)
|
||||||
{
|
{
|
||||||
/* Copied from eng_[openssl|dyn].c */
|
/* Copied from eng_[openssl|dyn].c */
|
||||||
|
|
|
@ -366,7 +366,7 @@ static int bind_helper ( ENGINE *e )
|
||||||
/* As this is only ever called once, there's no need for locking
|
/* As this is only ever called once, there's no need for locking
|
||||||
* (indeed - the lock will already be held by our caller!!!)
|
* (indeed - the lock will already be held by our caller!!!)
|
||||||
*/
|
*/
|
||||||
ENGINE *ENGINE_zencod ( void )
|
static ENGINE *ENGINE_zencod ( void )
|
||||||
{
|
{
|
||||||
|
|
||||||
ENGINE *eng = ENGINE_new () ;
|
ENGINE *eng = ENGINE_new () ;
|
||||||
|
@ -383,6 +383,9 @@ ENGINE *ENGINE_zencod ( void )
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
#ifdef ENGINE_DYNAMIC_SUPPORT
|
||||||
|
static
|
||||||
|
#endif
|
||||||
void ENGINE_load_zencod ( void )
|
void ENGINE_load_zencod ( void )
|
||||||
{
|
{
|
||||||
/* Copied from eng_[openssl|dyn].c */
|
/* Copied from eng_[openssl|dyn].c */
|
||||||
|
|
Loading…
Reference in a new issue