Dear all

I would like to create a data structure in C.
Below you can see what I have created, but it doesn't work correctly.
My question is: why doesn't initialised EVP_aes_128_cbc() into cipher?

#define ORANGE 0xffa500

struct ciphers_name
{
   unsigned char *name;
   unsigned char *description;
   const EVP_CIPHER *cipher;
   unsigned int color;
};


struct ciphers_name ciphers[] =
{
   { "aes128cbc","AES 128bit CBC",EVP_aes_128_cbc(),ORANGE}
};

Thank you in advance,
King regards,
 mark
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to