diff options
author | 2014-04-19 13:09:11 +0000 | |
---|---|---|
committer | 2014-04-19 13:09:11 +0000 | |
commit | cd0776dc1eead3078beb115707158e747a1d476f (patch) | |
tree | f0152d183f7beb6722702e5638537edb2e3f4661 /lib/libssl/src | |
parent | add missing checks to strlcpy() when copying envelope "destination" buffer (diff) | |
download | wireguard-openbsd-cd0776dc1eead3078beb115707158e747a1d476f.tar.xz wireguard-openbsd-cd0776dc1eead3078beb115707158e747a1d476f.zip |
oops, typo got into change
Diffstat (limited to 'lib/libssl/src')
-rw-r--r-- | lib/libssl/src/apps/s_socket.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libssl/src/apps/s_socket.c b/lib/libssl/src/apps/s_socket.c index d52714c8c7f..b77cb9008bf 100644 --- a/lib/libssl/src/apps/s_socket.c +++ b/lib/libssl/src/apps/s_socket.c @@ -302,7 +302,7 @@ redoit: *host = NULL; /* return(0); */ } else { - if ((*host = strdup(h1->h_name) == NULL) { + if ((*host = strdup(h1->h_name)) == NULL) { perror("strdup"); return (0); } |