projects
/
BearSSL
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Added new 64-bit implementations of Curve25519 and P-256.
[BearSSL]
/
samples
/
server_basic.c
diff --git
a/samples/server_basic.c
b/samples/server_basic.c
index
3b4c312
..
e774c4d
100644
(file)
--- a/
samples/server_basic.c
+++ b/
samples/server_basic.c
@@
-204,8
+204,8
@@
accept_client(int server_fd)
tmp, sizeof tmp);
break;
case AF_INET6:
- name = inet_ntop(AF_INET,
- &((struct sockaddr_in
*)&sa)->sin
_addr,
+ name = inet_ntop(AF_INET
6
,
+ &((struct sockaddr_in
6 *)&sa)->sin6
_addr,
tmp, sizeof tmp);
break;
}