Skip to content

Commit

Permalink
really?
Browse files Browse the repository at this point in the history
  • Loading branch information
waahm7 committed Aug 23, 2024
1 parent 0fb14e4 commit 2195765
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 @@ -555,14 +555,14 @@ static enum aws_libcrypto_version s_resolve_libcrypto_sharedlib(void) {

/* If compiled_version is AWS_LIBCRYPTO_1_1_1, we have already tried to load it and failed. So, skip it here. */
if (compiled_version != AWS_LIBCRYPTO_1_1_1) {
if (s_libcrypto_version_at_compile_time(AWS_LIBCRYPTO_1_1_1)) {
if (s_load_libcrypto_sharedlib(AWS_LIBCRYPTO_1_1_1)) {
return AWS_LIBCRYPTO_1_1_1;
}
}

/* If compiled_version is AWS_LIBCRYPTO_1_0_2, we have already tried to load it and failed. So, skip it here. */
if (compiled_version != AWS_LIBCRYPTO_1_0_2) {
if (s_libcrypto_version_at_compile_time(AWS_LIBCRYPTO_1_0_2)) {
if (s_load_libcrypto_sharedlib(AWS_LIBCRYPTO_1_0_2)) {
return AWS_LIBCRYPTO_1_0_2;
}
}
Expand Down

0 comments on commit 2195765

Please sign in to comment.