evp_pkey_ctx_free_old_ops(ctx);
ctx->operation = operation;
- /*
- * TODO when we stop falling back to legacy, this and the ERR_pop_to_mark()
- * calls can be removed.
- */
ERR_set_mark();
if (evp_pkey_ctx_is_legacy(ctx))
}
/*
- * TODO remove this when legacy is gone
* If we don't have the full support we need with provided methods,
* let's go see if legacy does.
*/
legacy:
/*
- * TODO remove this when legacy is gone
* If we don't have the full support we need with provided methods,
* let's go see if legacy does.
*/
static const BIO_METHOD methods_b64 = {
BIO_TYPE_BASE64,
"base64 encoding",
- /* TODO: Convert to new style write function */
bwrite_conv,
b64_write,
- /* TODO: Convert to new style read function */
bread_conv,
b64_read,
b64_puts,
static const BIO_METHOD methods_enc = {
BIO_TYPE_CIPHER,
"cipher",
- /* TODO: Convert to new style write function */
bwrite_conv,
enc_write,
- /* TODO: Convert to new style read function */
bread_conv,
enc_read,
NULL, /* enc_puts, */
static const BIO_METHOD methods_md = {
BIO_TYPE_MD,
"message digest",
- /* TODO: Convert to new style write function */
bwrite_conv,
md_write,
- /* TODO: Convert to new style read function */
bread_conv,
md_read,
NULL, /* md_puts, */
static const BIO_METHOD methods_ok = {
BIO_TYPE_CIPHER,
"reliable",
- /* TODO: Convert to new style write function */
bwrite_conv,
ok_write,
- /* TODO: Convert to new style read function */
bread_conv,
ok_read,
NULL, /* ok_puts, */
evp_pkey_ctx_free_old_ops(ctx);
ctx->operation = EVP_PKEY_OP_DERIVE;
- /*
- * TODO when we stop falling back to legacy, this and the ERR_pop_to_mark()
- * calls can be removed.
- */
ERR_set_mark();
if (evp_pkey_ctx_is_legacy(ctx))
}
/*
- * TODO remove this when legacy is gone
* If we don't have the full support we need with provided methods,
* let's go see if legacy does.
*/
legacy:
/*
- * TODO remove this when legacy is gone
* If we don't have the full support we need with provided methods,
* let's go see if legacy does.
*/
if (props == NULL)
props = locpctx->propquery;
- /*
- * TODO when we stop falling back to legacy, this and the ERR_pop_to_mark()
- * calls can be removed.
- */
ERR_set_mark();
if (evp_pkey_ctx_is_legacy(locpctx))
}
/*
- * TODO remove this when legacy is gone
* If we don't have the full support we need with provided methods,
* let's go see if legacy does.
*/
legacy:
/*
- * TODO remove this when legacy is gone
* If we don't have the full support we need with provided methods,
* let's go see if legacy does.
*/
/*
* Because we still have legacy keys
- * TODO remove this #legacy internal keys are gone
*/
(*ppkey)->type = ctx->legacy_keytype;
* values. We go through all keymgmt names, because the keytype
* that's passed to this function doesn't necessarily translate
* directly.
- * TODO: Remove this when #legacy keys are gone.
*/
if (keymgmt != NULL) {
int tmp_id = get_legacy_alg_type_from_keymgmt(keymgmt);
ret->libctx = libctx;
ret->keytype = keytype;
ret->keymgmt = keymgmt;
- ret->legacy_keytype = id; /* TODO: Remove when #legacy key are gone */
+ ret->legacy_keytype = id;
ret->engine = e;
ret->pmeth = pmeth;
ret->operation = EVP_PKEY_OP_UNDEFINED;
evp_pkey_ctx_free_old_ops(ctx);
ctx->operation = operation;
- /*
- * TODO when we stop falling back to legacy, this and the ERR_pop_to_mark()
- * calls can be removed.
- */
ERR_set_mark();
if (evp_pkey_ctx_is_legacy(ctx))
}
/*
- * TODO remove this when legacy is gone
* If we don't have the full support we need with provided methods,
* let's go see if legacy does.
*/
legacy:
/*
- * TODO remove this when legacy is gone
* If we don't have the full support we need with provided methods,
* let's go see if legacy does.
*/