summaryrefslogtreecommitdiffstats
path: root/lib/libssl/src
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2014-04-19 13:09:11 +0000
committerderaadt <deraadt@openbsd.org>2014-04-19 13:09:11 +0000
commitcd0776dc1eead3078beb115707158e747a1d476f (patch)
treef0152d183f7beb6722702e5638537edb2e3f4661 /lib/libssl/src
parentadd missing checks to strlcpy() when copying envelope "destination" buffer (diff)
downloadwireguard-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.c2
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);
}