Build fail when configured using no-nextprotoneg

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Build fail when configured using no-nextprotoneg

Michel

Can we assume it is temporary due to “the process of transitioning from NPN to ALPN” mentioned in ssl_locl.h ?

Regards,

Michel.

 

cl  /I "." /I "include" -DDSO_WIN32 -DOPENSSL_THREADS -DOPENSSL_NO_DYNAM

IC_ENGINE -DOPENSSL_PIC -DOPENSSL_BN_ASM_PART_WORDS -DOPENSSL_IA32_SSE2 -DOPENSS

L_BN_ASM_MONT -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DRC4_A

SM -DMD5_ASM -DRMD160_ASM -DAES_ASM -DVPAES_ASM -DWHIRLPOOL_ASM -DGHASH_ASM -DEC

P_NISTZ256_ASM -DPADLOCK_ASM -DPOLY1305_ASM -DOPENSSL_API_COMPAT=0x10100000L "-D

ENGINESDIR=\"C:\\OpenSSL_dbg\\lib\\engines-1_1\"" "-DOPENSSLDIR=\"c:\\OpenSSL_db

g\\ssl\"" -W3 -wd4090 -Gs0 -GF -Gy -nologo -DOPENSSL_SYS_WIN32 -DWIN32_LEAN_AND_

MEAN -DL_ENDIAN -D_CRT_SECURE_NO_DEPRECATE -DUNICODE -D_UNICODE  /Od -DDEBUG -D_

DEBUG /Zi /Fdossl_static /MT /Zl -c /Fossl\ssl_lib.obj "ssl\ssl_lib.c"

ssl_lib.c

ssl\ssl_lib.c(626): error C2039: 'alpn': is not a member of '<unnamed-tag>'

e:\devsrc\openssl.git\ssl\ssl_locl.h(782): note: see declaration of '<unnamed-ta

g>'

ssl\ssl_lib.c(627): error C2039: 'alpn_len': is not a member of '<unnamed-tag>'

e:\devsrc\openssl.git\ssl\ssl_locl.h(782): note: see declaration of '<unnamed-ta

g>'

ssl\ssl_lib.c(627): warning C4047: 'function': 'std::size_t' differs in levels o

f indirection from 'char [14]'

ssl\ssl_lib.c(627): warning C4024: 'CRYPTO_malloc': different types for formal a

nd actual parameter 1

ssl\ssl_lib.c(627): warning C4047: 'function': 'const char *' differs in levels

of indirection from 'int'

ssl\ssl_lib.c(627): warning C4024: 'CRYPTO_malloc': different types for formal a

nd actual parameter 2

ssl\ssl_lib.c(627): error C2198: 'CRYPTO_malloc': too few arguments for call

ssl\ssl_lib.c(630): error C2039: 'alpn': is not a member of '<unnamed-tag>'

e:\devsrc\openssl.git\ssl\ssl_locl.h(782): note: see declaration of '<unnamed-ta

g>'

ssl\ssl_lib.c(630): error C2039: 'alpn_len': is not a member of '<unnamed-tag>'

e:\devsrc\openssl.git\ssl\ssl_locl.h(782): note: see declaration of '<unnamed-ta

g>'

ssl\ssl_lib.c(630): error C2198: 'memcpy': too few arguments for call

ssl\ssl_lib.c(631): error C2039: 'alpn_len': is not a member of '<unnamed-tag>'

e:\devsrc\openssl.git\ssl\ssl_locl.h(782): note: see declaration of '<unnamed-ta

g>'

ssl\ssl_lib.c(2304): error C2039: 'alpn': is not a member of '<unnamed-tag>'

e:\devsrc\openssl.git\ssl\ssl_locl.h(782): note: see declaration of '<unnamed-ta

g>'

ssl\ssl_lib.c(2304): warning C4047: 'function': 'const char *' differs in levels

of indirection from 'int'

ssl\ssl_lib.c(2304): warning C4024: 'CRYPTO_free': different types for formal an

d actual parameter 2

ssl\ssl_lib.c(2304): error C2198: 'CRYPTO_free': too few arguments for call

ssl\ssl_lib.c(2305): error C2039: 'alpn': is not a member of '<unnamed-tag>'

e:\devsrc\openssl.git\ssl\ssl_locl.h(782): note: see declaration of '<unnamed-ta

g>'

ssl\ssl_lib.c(2306): error C2039: 'alpn': is not a member of '<unnamed-tag>'

e:\devsrc\openssl.git\ssl\ssl_locl.h(782): note: see declaration of '<unnamed-ta

g>'

ssl\ssl_lib.c(2310): error C2039: 'alpn_len': is not a member of '<unnamed-tag>'

 

e:\devsrc\openssl.git\ssl\ssl_locl.h(782): note: see declaration of '<unnamed-ta

g>'

ssl\ssl_lib.c(2343): error C2039: 'alpn_select_cb': is not a member of '<unnamed

-tag>'

e:\devsrc\openssl.git\ssl\ssl_locl.h(782): note: see declaration of '<unnamed-ta

g>'

ssl\ssl_lib.c(2344): error C2039: 'alpn_select_cb_arg': is not a member of '<unn

amed-tag>'

e:\devsrc\openssl.git\ssl\ssl_locl.h(782): note: see declaration of '<unnamed-ta

g>'

ssl\ssl_lib.c(2622): error C2039: 'alpn': is not a member of '<unnamed-tag>'

e:\devsrc\openssl.git\ssl\ssl_locl.h(782): note: see declaration of '<unnamed-ta

g>'

ssl\ssl_lib.c(2622): warning C4047: 'function': 'const char *' differs in levels

of indirection from 'int'

ssl\ssl_lib.c(2622): warning C4024: 'CRYPTO_free': different types for formal an

d actual parameter 2

ssl\ssl_lib.c(2622): error C2198: 'CRYPTO_free': too few arguments for call

NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 14.0

\VC\BIN\cl.EXE"' : return code '0x2'

Stop.


--
openssl-dev mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev
Reply | Threaded
Open this post in threaded view
|

Re: Build fail when configured using no-nextprotoneg

Matt Caswell-2


On 11/01/17 08:58, Michel wrote:
> Can we assume it is temporary due to “the process of transitioning from
> NPN to ALPN” mentioned in ssl_locl.h ?

Its a bug:

https://github.com/openssl/openssl/pull/2212

Matt


--
openssl-dev mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev