diff options
author | Matthieu Patou <mat@matws.net> | 2010-08-15 18:31:28 +0400 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2010-10-03 01:15:04 +0000 |
commit | ab6e3fce040f9ad27cbce44e9038a24f15b601c8 (patch) | |
tree | ab99a431c9610927b5d0d26335d2712b509fd6dc /source4/heimdal/lib/hcrypto/engine.h | |
parent | 197a1514d62494cc8b862d169c841a26e04b8925 (diff) | |
download | samba-ab6e3fce040f9ad27cbce44e9038a24f15b601c8.tar.gz samba-ab6e3fce040f9ad27cbce44e9038a24f15b601c8.tar.bz2 samba-ab6e3fce040f9ad27cbce44e9038a24f15b601c8.zip |
s4:heimdal: import lorikeet-heimdal-201009250123 (commit 42cabfb5b683dbcb97d583c397b897507689e382)
I based this on Matthieu's import of lorikeet-heimdal, and then
updated it to this commit.
Andrew Bartlett
Diffstat (limited to 'source4/heimdal/lib/hcrypto/engine.h')
-rw-r--r-- | source4/heimdal/lib/hcrypto/engine.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/source4/heimdal/lib/hcrypto/engine.h b/source4/heimdal/lib/hcrypto/engine.h index d3a1479ce2..7fd8f3e1e5 100644 --- a/source4/heimdal/lib/hcrypto/engine.h +++ b/source4/heimdal/lib/hcrypto/engine.h @@ -54,6 +54,8 @@ #define ENGINE_set_id hc_ENGINE_set_id #define ENGINE_set_name hc_ENGINE_set_name #define ENGINE_set_destroy_function hc_ENGINE_set_destroy_function +#define ENGINE_new hc_ENGINE_new +#define ENGINE_free hc_ENGINE_free #define ENGINE_up_ref hc_ENGINE_up_ref #define ENGINE_get_default_DH hc_ENGINE_get_default_DH #define ENGINE_get_default_RSA hc_ENGINE_get_default_RSA @@ -66,6 +68,16 @@ typedef struct hc_engine ENGINE; +#define NID_md2 0 +#define NID_md4 1 +#define NID_md5 2 +#define NID_sha1 4 +#define NID_sha256 5 + +/* + * + */ + #include <hcrypto/rsa.h> #include <hcrypto/dsa.h> #include <hcrypto/dh.h> @@ -76,6 +88,9 @@ typedef struct hc_engine ENGINE; typedef int (*openssl_bind_engine)(ENGINE *, const char *, const void *); typedef unsigned long (*openssl_v_check)(unsigned long); +ENGINE * + ENGINE_new(void); +int ENGINE_free(ENGINE *); void ENGINE_add_conf_module(void); void ENGINE_load_builtin_engines(void); ENGINE *ENGINE_by_id(const char *); |