[openssl] openssl-3.0 update
tomas at openssl.org
tomas at openssl.org
Wed Dec 29 15:02:02 UTC 2021
The branch openssl-3.0 has been updated
via db82fa2ac4ac9bed62e82d96561964aee9969d6b (commit)
from 0caf2813245f7141b982fcfd9bda402117da115c (commit)
- Log -----------------------------------------------------------------
commit db82fa2ac4ac9bed62e82d96561964aee9969d6b
Author: Weiguo Li <liwg06 at foxmail.com>
Date: Tue Dec 28 00:05:54 2021 +0800
Fix a misuse of NULL check
Fixes: #17356
CLA: trivial
Reviewed-by: Ben Kaduk <kaduk at mit.edu>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/17357)
(cherry picked from commit ff7cdc15875293a330831a80d83edbafd25a9d36)
-----------------------------------------------------------------------
Summary of changes:
crypto/rand/rand_egd.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/crypto/rand/rand_egd.c b/crypto/rand/rand_egd.c
index dc1833169c..2067ececaf 100644
--- a/crypto/rand/rand_egd.c
+++ b/crypto/rand/rand_egd.c
@@ -80,7 +80,7 @@ int hpns_socket(int family,
# define AF_UNIX_PORTABILITY "$ZAFN2"
# define AF_UNIX_COMPATIBILITY "$ZPLS"
- if (!_arg_present(transport) || transport != NULL || transport[0] == '\0')
+ if (!_arg_present(transport) || transport == NULL || transport[0] == '\0')
return socket(family, type, protocol);
socket_transport_name_get(AF_UNIX, current_transport, 20);
More information about the openssl-commits
mailing list