#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)
{
static int test_digest(const char *digest,
const unsigned char *plaintext,int pn,
- const unsigned char *ciphertext, int cn)
+ const unsigned char *ciphertext, unsigned int cn)
{
const EVP_MD *d;
EVP_MD_CTX ctx;
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();