[PATCH] examples: Get pedantic about initialization and cleanup

2014-11-24 Thread Ray Satiro
These changes make the examples reflect what is API documented regarding initialization and cleanup. All examples will now: - Call curl_global_init immediately after the program starts. - Call curl_global_cleanup immediately before the program exits. - Call curl_easy_cleanup for each easy handl

RE: [PATCH] smb/cifs

2014-11-24 Thread Steve Holme
On Mon, 24 Nov 2014, Nagel, Bill wrote: > At the minimum I need to typedef a 64-bit int. Ah yes - We can probably do something with: #if defined(HAVE_LONGLONG) Like in curl_ntlm_core.c:407 but it depends on how many 64-bit values there are - which could make the code quite messy :( I can

RE: [PATCH] PEM support for Public Key Pinning

2014-11-24 Thread Patrick Monnerat
Moparisthebest wrote: > I have attached the latest patch taking all of those into account. I've just commit and pushed the patch, with slight modifications (fixed a buffer overflow, CS, type conversion, etc.) https://github.com/bagder/curl/commit/be1a5051890b7ad9339b0208424b94aa32 c64776 Thanks

RE: [PATCH] smb/cifs

2014-11-24 Thread Nagel, Bill
> > Do you prefer that I rename the types and avoid stdint? Like "smb_u32". > > For the purpose of the project and anyone else maintaining this after your > initial work I'd rather you use native C89 compatible types rather than either > your own or C99 types. > At the minimum I need to typedef a