diff options
author | Richard Levitte <levitte@openssl.org> | 2023-08-14 12:38:44 +0200 |
---|---|---|
committer | Tomas Mraz <tomas@openssl.org> | 2023-08-15 15:23:16 +0200 |
commit | 98d81174d3763053b32b8cfd7225acd0a111d456 (patch) | |
tree | 474ace53d639e846f155269dd9271b5cafb72f54 /include | |
parent | 4efd84fdd648279367683b280c9d9feb2ba54e9e (diff) |
Remove include/internal/decoder.h, as it's superfluous
The routines declared in there are entirely libcrypto internal, so
include/crypto/decoder.h is better suited for them.
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Hugo Landau <hlandau@openssl.org>
Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
(Merged from https://github.com/openssl/openssl/pull/21733)
Diffstat (limited to 'include')
-rw-r--r-- | include/crypto/decoder.h | 4 | ||||
-rw-r--r-- | include/internal/decoder.h | 18 |
2 files changed, 4 insertions, 18 deletions
diff --git a/include/crypto/decoder.h b/include/crypto/decoder.h index 514190fca2..b7b91209df 100644 --- a/include/crypto/decoder.h +++ b/include/crypto/decoder.h @@ -33,4 +33,8 @@ int ossl_decoder_get_number(const OSSL_DECODER *encoder); int ossl_decoder_store_cache_flush(OSSL_LIB_CTX *libctx); int ossl_decoder_store_remove_all_provided(const OSSL_PROVIDER *prov); +void *ossl_decoder_cache_new(OSSL_LIB_CTX *ctx); +void ossl_decoder_cache_free(void *vcache); +int ossl_decoder_cache_flush(OSSL_LIB_CTX *libctx); + #endif diff --git a/include/internal/decoder.h b/include/internal/decoder.h deleted file mode 100644 index bfe1429ffb..0000000000 --- a/include/internal/decoder.h +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Copyright 2023 The OpenSSL Project Authors. All Rights Reserved. - * - * Licensed under the Apache License 2.0 (the "License"). You may not use - * this file except in compliance with the License. You can obtain a copy - * in the file LICENSE in the source distribution or at - * https://www.openssl.org/source/license.html - */ - -#ifndef OSSL_INTERNAL_DECODER_H -# define OSSL_INTERNAL_DECODER_H -# pragma once - -void *ossl_decoder_cache_new(OSSL_LIB_CTX *ctx); -void ossl_decoder_cache_free(void *vcache); -int ossl_decoder_cache_flush(OSSL_LIB_CTX *libctx); - -#endif |