cURL / Mailing Lists / curl-library / Single Mail

curl-library

schannel SEC_E_BUFFER_TOO_SMALL

From: Brian Chrisman <brian_at_gobbler.com>
Date: Thu, 23 Apr 2015 12:09:33 -0700

I occasionally see the following libcurl output when negotiating a TLS
connection:

2015-04-22 22:33:37.781 11991 [0x000014fc] DEBUG schannel: SSL/TLS
connection with api.gobbler-qa.com port 443 (step 2/3)
2015-04-22 22:33:37.782 11992 [0x000014fc] DEBUG schannel: encrypted data
buffer: offset 5967 length 6144
2015-04-22 22:33:37.788 11998 [0x000014fc] DEBUG schannel: next
InitializeSecurityContext failed: SEC_E_BUFFER_TOO_SMALL (0x80090321) - The
buffers supplied to a function was too small.
2015-04-22 22:33:37.788 11998 [0x000014fc] DEBUG Closing connection 0

This is on Win7 with libcurl 7.41.0 built with the following options:
nmake /f MakeFile.vc mode=static VC=12 WITH_ZLIB=static ENABLE_WINSSL=yes
MACHINE=x86 DEBUG=yes GEN_PDB=yes

I will continue debugging but wanted to post this here in case others have
any information regarding this. Thanks.

-- 
Brian Chrisman
Gobbler - Software Architect

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2015-04-23