diff options
author | Ben Laurie <ben@openssl.org> | 2002-01-18 16:51:05 +0000 |
---|---|---|
committer | Ben Laurie <ben@openssl.org> | 2002-01-18 16:51:05 +0000 |
commit | 9dd5ae65533ec43e66efe66e1bbcddce4cb05509 (patch) | |
tree | 7150828e2bcb1ac5c92435ddc3dee259facd72e7 /crypto/evp | |
parent | e1e876072d813ac55a4a0b2c17ff55a0b27d1689 (diff) |
Constification, add config to /dev/crypto.
Diffstat (limited to 'crypto/evp')
-rw-r--r-- | crypto/evp/digest.c | 2 | ||||
-rw-r--r-- | crypto/evp/evp_test.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/crypto/evp/digest.c b/crypto/evp/digest.c index b0c8e0a968..798cf9d0aa 100644 --- a/crypto/evp/digest.c +++ b/crypto/evp/digest.c @@ -287,7 +287,7 @@ int EVP_MD_CTX_cleanup(EVP_MD_CTX *ctx) * because sometimes only copies of the context are ever finalised. */ if (ctx->digest && ctx->digest->cleanup - && !EVP_MD_CTX_test_flags(ctx,EVP_MD_CTX_FLAG_CLEANED)) + && !EVP_MD_CTX_test_flags(ctx,EVP_MD_CTX_FLAG_CLEANED)) ctx->digest->cleanup(ctx); if (ctx->digest && ctx->digest->ctx_size && ctx->md_data) { diff --git a/crypto/evp/evp_test.c b/crypto/evp/evp_test.c index 5ef67699dd..ae14356dfe 100644 --- a/crypto/evp/evp_test.c +++ b/crypto/evp/evp_test.c @@ -51,6 +51,7 @@ #include <string.h> #include <openssl/evp.h> #include <openssl/engine.h> +#include <openssl/conf.h> static void hexdump(FILE *f,const char *title,const unsigned char *s,int l) { @@ -309,6 +310,7 @@ int main(int argc,char **argv) OpenSSL_add_all_digests(); /* Load all compiled-in ENGINEs */ ENGINE_load_builtin_engines(); + OPENSSL_config(); /* Register all available ENGINE implementations of ciphers and digests. * This could perhaps be changed to "ENGINE_register_all_complete()"? */ ENGINE_register_all_ciphers(); |