From 83042a829260f53b0f0f49e06d33bc3a73401bf0 Mon Sep 17 00:00:00 2001 From: David Benjamin Date: Mon, 6 Jun 2016 11:29:58 -0400 Subject: [PATCH] Add a no-op OpenSSL_add_all_algorithms_conf. More spring-cleaning of unnecessary incompatibilities. Since OpenSSL_add_all_algorithms_conf doesn't specify a configuration file, it's perfectly sound to have such a function. Dear BoringSSL, please add all algorithms. Uh, sure. They were already all there, but I have added them! PS: Could you also load all your configuration files while you're at it. ...I don't have any. Fine. I have loaded all configuration files which I recognize. *mutters under breath* why does everyone ask all these strange questions... Change-Id: I57f956933d9e519445bf22f89853bd5f56904172 Reviewed-on: https://boringssl-review.googlesource.com/8160 Reviewed-by: Steven Valdez Reviewed-by: David Benjamin --- crypto/evp/evp.c | 2 ++ include/openssl/evp.h | 3 +++ 2 files changed, 5 insertions(+) diff --git a/crypto/evp/evp.c b/crypto/evp/evp.c index 79993aab..bc1585e7 100644 --- a/crypto/evp/evp.c +++ b/crypto/evp/evp.c @@ -356,6 +356,8 @@ int EVP_PKEY_CTX_get_signature_md(EVP_PKEY_CTX *ctx, const EVP_MD **out_md) { void OpenSSL_add_all_algorithms(void) {} +void OpenSSL_add_all_algorithms_conf(void) {} + void OpenSSL_add_all_ciphers(void) {} void OpenSSL_add_all_digests(void) {} diff --git a/include/openssl/evp.h b/include/openssl/evp.h index 398c7414..faf160f8 100644 --- a/include/openssl/evp.h +++ b/include/openssl/evp.h @@ -654,6 +654,9 @@ OPENSSL_EXPORT int EVP_PKEY_CTX_get0_rsa_oaep_label(EVP_PKEY_CTX *ctx, /* OpenSSL_add_all_algorithms does nothing. */ OPENSSL_EXPORT void OpenSSL_add_all_algorithms(void); +/* OpenSSL_add_all_algorithms_conf does nothing. */ +OPENSSL_EXPORT void OpenSSL_add_all_algorithms_conf(void); + /* OpenSSL_add_all_ciphers does nothing. */ OPENSSL_EXPORT void OpenSSL_add_all_ciphers(void);