Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
waahm7 committed Aug 23, 2024
1 parent 1f3655d commit 0fb14e4
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions source/unix/openssl_platform_init.c
Original file line number Diff line number Diff line change
Expand Up @@ -548,9 +548,8 @@ static enum aws_libcrypto_version s_resolve_libcrypto_sharedlib(void) {
/* First try to load the same version as the compiled libcrypto version */
const enum aws_libcrypto_version compiled_version = s_libcrypto_version_at_compile_time();
if (compiled_version != AWS_LIBCRYPTO_NONE) {
enum aws_libcrypto_version result = s_load_libcrypto_sharedlib(compiled_version);
if (result == compiled_version) {
return result;
if (s_load_libcrypto_sharedlib(compiled_version)) {
return compiled_version;
}
}

Expand Down

0 comments on commit 0fb14e4

Please sign in to comment.