diff options
author | Richard Levitte <levitte@openssl.org> | 2005-04-30 14:34:28 +0000 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2005-04-30 14:34:28 +0000 |
commit | 37e27219f2ffdda22778c75db1bbe2cfcc8dd44b (patch) | |
tree | efcb8e832e35cc0e35d8853be35e12da077aa2a8 /demos/engines/cluster_labs/hw_cluster_labs.c | |
parent | d2284ab5d14ded075fc3bc6f56d37d001541f7d6 (diff) |
From branch OpenSSL_0_9_7-stable, 2002-11-13 15:30:
The loading functions should be static if we build a dynamic
engine.
Diffstat (limited to 'demos/engines/cluster_labs/hw_cluster_labs.c')
-rw-r--r-- | demos/engines/cluster_labs/hw_cluster_labs.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/demos/engines/cluster_labs/hw_cluster_labs.c b/demos/engines/cluster_labs/hw_cluster_labs.c index 00c14f2755..036f48bafa 100644 --- a/demos/engines/cluster_labs/hw_cluster_labs.c +++ b/demos/engines/cluster_labs/hw_cluster_labs.c @@ -103,7 +103,7 @@ static int cluster_labs_rsa_mod_exp(BIGNUM *r0, const BIGNUM *I, RSA *rsa); /* DSA stuff */ #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, DSA_SIG *sig, DSA *dsa); 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; } +#ifdef ENGINE_DYNAMIC_SUPPORT +static +#endif 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) |