Skip to content

Commit

Permalink
more renames
Browse files Browse the repository at this point in the history
  • Loading branch information
waahm7 committed Aug 23, 2024
1 parent 260729b commit d94f62e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/unix/openssl_platform_init.c
Original file line number Diff line number Diff line change
Expand Up @@ -514,7 +514,7 @@ static enum aws_libcrypto_version s_libcrypto_version_at_compile_time(void) {
}

/* Given libcrypto version, return the filename of the .so */
static char *s_libcrypto_lib_filename(enum aws_libcrypto_version version) {
static char *s_libcrypto_sharedlib_filename(enum aws_libcrypto_version version) {
switch (version) {
case AWS_LIBCRYPTO_1_0_2:
return "libcrypto.so.1.0.0";
Expand All @@ -526,7 +526,7 @@ static char *s_libcrypto_lib_filename(enum aws_libcrypto_version version) {
}

static bool s_load_libcrypto_sharedlib(enum aws_libcrypto_version version) {
const char *libcrypto_version = s_libcrypto_lib_filename(version);
const char *libcrypto_version = s_libcrypto_sharedlib_filename(version);

AWS_LOGF_DEBUG(AWS_LS_CAL_LIBCRYPTO_RESOLVE, "loading %s", libcrypto_version);
void *module = dlopen(libcrypto_version, RTLD_NOW);
Expand Down

0 comments on commit d94f62e

Please sign in to comment.