[xml] Win32 https:// SSL Support

The attached code snipet implements a input callback supporting SSL
(https://) URLs in libxml2.  This uses the WinInet API to do all the work
and handles automatically user authentication.

The only thing that will need changing is the HWND parameter of
InternetErrorDlg().   Change that to you applications window or the desktop,
if no window is available.  This is the parent window for error dialogs
(such as user/password authentication).


Attachment: ssl.c
Description: Binary data

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]