diff options
author | Ben Laurie <ben@openssl.org> | 2011-03-12 14:55:24 +0100 |
---|---|---|
committer | Ben Laurie <ben@openssl.org> | 2011-03-12 14:55:24 +0100 |
commit | 0c4e67102eb8a05ab1f6673b670a09ce89aeb568 (patch) | |
tree | 2c9351fb808b5820c8d6f8cfd232a20cbdb7ad3d /apps | |
parent | Check requested security strength in DRBG. Add function to retrieve the (diff) | |
download | openssl-0c4e67102eb8a05ab1f6673b670a09ce89aeb568.tar.xz openssl-0c4e67102eb8a05ab1f6673b670a09ce89aeb568.zip |
Fix warning.
Diffstat (limited to 'apps')
-rw-r--r-- | apps/s_socket.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/s_socket.c b/apps/s_socket.c index 2fff09f850..209958ab90 100644 --- a/apps/s_socket.c +++ b/apps/s_socket.c @@ -233,6 +233,7 @@ int init_client(int *sock, char *host, int port, int type) { unsigned char ip[4]; + ip[0] = ip[1] = ip[2] = ip[3] = 0; if (!host_ip(host,&(ip[0]))) { return(0); |