summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
52b66a6)
required as well as a default implementation (when no ENGINE provides a
replacement implementation). This change makes sure the correct
implementation's "init()" handler is used rather than assuming 'type'.
ctx->md_data=OPENSSL_malloc(type->ctx_size);
}
skip_to_init:
ctx->md_data=OPENSSL_malloc(type->ctx_size);
}
skip_to_init:
- return type->init(ctx);
+ return ctx->digest->init(ctx);
}
int EVP_DigestUpdate(EVP_MD_CTX *ctx, const void *data,
}
int EVP_DigestUpdate(EVP_MD_CTX *ctx, const void *data,