summaryrefslogtreecommitdiffstats
path: root/providers/implementations/ciphers/cipher_chacha20.c
diff options
context:
space:
mode:
authorPauli <paul.dale@oracle.com>2020-09-28 12:28:29 +1000
committerPauli <paul.dale@oracle.com>2020-09-29 16:31:46 +1000
commit1be63951f87dfcbc98efe5d94a15298fea885890 (patch)
tree083ab242e6cf6521377635b5f0daacedfe937dbe /providers/implementations/ciphers/cipher_chacha20.c
parent5e26c3399d154b9ed29558129ca1916a1b5b095e (diff)
prov: prefix all OSSL_DISPATCH tables names with ossl_
This stops them leaking into other namespaces in a static build. They remain internal. Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/13013)
Diffstat (limited to 'providers/implementations/ciphers/cipher_chacha20.c')
-rw-r--r--providers/implementations/ciphers/cipher_chacha20.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/providers/implementations/ciphers/cipher_chacha20.c b/providers/implementations/ciphers/cipher_chacha20.c
index 56bc1b95af..1f44601c61 100644
--- a/providers/implementations/ciphers/cipher_chacha20.c
+++ b/providers/implementations/ciphers/cipher_chacha20.c
@@ -173,8 +173,8 @@ int chacha20_dinit(void *vctx, const unsigned char *key, size_t keylen,
return ret;
}
-/* chacha20_functions */
-const OSSL_DISPATCH chacha20_functions[] = {
+/* ossl_chacha20_functions */
+const OSSL_DISPATCH ossl_chacha20_functions[] = {
{ OSSL_FUNC_CIPHER_NEWCTX, (void (*)(void))chacha20_newctx },
{ OSSL_FUNC_CIPHER_FREECTX, (void (*)(void))chacha20_freectx },
{ OSSL_FUNC_CIPHER_ENCRYPT_INIT, (void (*)(void))chacha20_einit },