summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
bbb4ee8)
if (FIPS_mode())
return 0;
#endif
if (FIPS_mode())
return 0;
#endif
- switch (ctx->digest->type)
+ switch (EVP_MD_CTX_type(ctx))
{
case NID_md5:
case NID_sha1:
{
case NID_md5:
case NID_sha1:
* many possible overflows later in this function. */
OPENSSL_assert(data_plus_mac_plus_padding_size < 1024*1024);
* many possible overflows later in this function. */
OPENSSL_assert(data_plus_mac_plus_padding_size < 1024*1024);
- switch (ctx->digest->type)
+ switch (EVP_MD_CTX_type(ctx))
{
case NID_md5:
MD5_Init((MD5_CTX*)md_state.c);
{
case NID_md5:
MD5_Init((MD5_CTX*)md_state.c);