Hi Matt, Could you please help to get any clue on the ACCESSOR APIs of the following.
I tried searching APIs. Not getting exact matches. Referred the below links. https://www.openssl.org/docs/man1.1.1/man3/SSL_set_info_callback.html https://www.openssl.org/docs/man1.1.1/man3/EVP_md5.html Getting similar error for the below code. tls1_PRF(s->ctx->md5,s->ctx->sha1,buf,(int)(p-buf), pGenerator->master_secret,sizeof(pGenerator->master_secret), km,tmp,num); Struct
ssl_ctx_st { … const EVP_MD *md5;
/* For SSLv3/TLSv1 'ssl3-md5' */ const EVP_MD *sha1;
/* For SSLv3/TLSv1 'ssl3->sha1' */ … } struct evp_md_st {
int type;
int pkey_type;
int md_size;
unsigned long flags;
int (*init) (EVP_MD_CTX *ctx);
int (*update) (EVP_MD_CTX *ctx,
const void *data, size_t count);
int (*final) (EVP_MD_CTX *ctx,
unsigned char *md);
int (*copy) (EVP_MD_CTX *to,
const EVP_MD_CTX *from);
int (*cleanup) (EVP_MD_CTX *ctx);
int block_size;
int ctx_size; /* how big does the ctx->md_data need to be */
/* control function */
int (*md_ctrl) (EVP_MD_CTX *ctx,
int cmd, int p1,
void *p2); }
/* EVP_MD */ ; Thanks and regards, Nagalakshmi From: Nagalakshmi V J <nagalakshmi.j@xxxxxxxxxx> Hi Matt, From: Matt Caswell <matt@xxxxxxxxxxx> ** This mail has been sent from an external source ** ===================================================== Please refer to https://northamerica.altran.com/email-disclaimer for important disclosures regarding this electronic communication. ===================================================== |