MicrochipTech / cryptoauth-openssl-engine

DEPRECATED: Use https://github.com/MicrochipTech/cryptoauthlib/wiki/PKCS11-Linux-Setup
Other
76 stars 49 forks source link

Linux, incorrect function call to print debug message in cryptoauthlib/lib/openssl/eccx08_rand.c #27

Open balaji-reddy opened 5 years ago

balaji-reddy commented 5 years ago

It supposed to be DEBUG_ENGINE() instead of eccx08_debug().

Fix: File: cryptoauthlib/lib/openssl/eccx08_rand.c

static int RAND_eccx08_rand_bytes(unsigned char *buf, int num)
{
    ................

    if (total_num == 0) {
        **DEBUG_ENGINE**("RAND_eccx08_rand_bytes() -  hw\n");