summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPauli <pauli@openssl.org>2021-05-31 14:28:15 +1000
committerPauli <pauli@openssl.org>2021-06-02 16:30:15 +1000
commit10dbfcc91eb84b9818393e48745dcb53914c57d4 (patch)
tree0da32349c695aa5c16da7fa3e2da5efe73cf8b70
parent0848b943a8c481e3fb1e08b70735392d6d6d70f4 (diff)
asn.1: remove TODOs
Reviewed-by: Tim Hudson <tjh@openssl.org> (Merged from https://github.com/openssl/openssl/pull/15539)
-rw-r--r--crypto/asn1/bio_asn1.c2
-rw-r--r--include/crypto/asn1.h4
2 files changed, 0 insertions, 6 deletions
diff --git a/crypto/asn1/bio_asn1.c b/crypto/asn1/bio_asn1.c
index 3742b0096f..fa81b3a28a 100644
--- a/crypto/asn1/bio_asn1.c
+++ b/crypto/asn1/bio_asn1.c
@@ -79,10 +79,8 @@ static int asn1_bio_setup_ex(BIO *b, BIO_ASN1_BUF_CTX *ctx,
static const BIO_METHOD methods_asn1 = {
BIO_TYPE_ASN1,
"asn1",
- /* TODO: Convert to new style write function */
bwrite_conv,
asn1_bio_write,
- /* TODO: Convert to new style read function */
bread_conv,
asn1_bio_read,
asn1_bio_puts,
diff --git a/include/crypto/asn1.h b/include/crypto/asn1.h
index 5a187e41a7..829c5980d2 100644
--- a/include/crypto/asn1.h
+++ b/include/crypto/asn1.h
@@ -74,10 +74,6 @@ struct evp_pkey_asn1_method_st {
int (*get_priv_key) (const EVP_PKEY *pk, unsigned char *priv, size_t *len);
int (*get_pub_key) (const EVP_PKEY *pk, unsigned char *pub, size_t *len);
- /*
- * TODO: Make sure these functions are defined for key types that are
- * implemented in providers.
- */
/* Exports and imports to / from providers */
size_t (*dirty_cnt) (const EVP_PKEY *pk);
int (*export_to) (const EVP_PKEY *pk, void *to_keydata,