]> wagner.pp.ru Git - openssl-gost/engine.git/commit
MSVC: Avoid use `htonl' since it requires linking with Winsock
authorVitaly Chikunov <vt@altlinux.org>
Fri, 3 Dec 2021 09:38:19 +0000 (12:38 +0300)
committerDmitry Belyavskiy <beldmit@users.noreply.github.com>
Sat, 11 Dec 2021 16:45:14 +0000 (19:45 +0300)
commitea08f653579978ba0e39d5a71bce9ed47452f0e3
tree4d65378a76571ce2402ddd88652f7acba6375279
parent4e903e81e783f74ec6624a3a53e96370492c0bba
MSVC: Avoid use `htonl' since it requires linking with Winsock

No need external library (Ws2_32.lib) if we can easily implement it.
Error messages:

  gost_core.lib(gost_keyexpimp.obj) : error LNK2019: unresolved external symbol htonl referenced in function gost_kdftree2012_256
  gost.dll : fatal error LNK1120: 1 unresolved externals

Signed-off-by: Vitaly Chikunov <vt@altlinux.org>
gost_keyexpimp.c