Hi, 
 Please find attached upstream's response to this bug and a
 possible fix for this solution. I shall be releasing the new versions
 of libmrss and libnxml soon. Sorry for the delay I was out of
 station.

Regards
Varun
--- Begin Message ---
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

>   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=425483

There are 3 problems:

1. the certificate of that server is wrong. You can set the option
verifypeer to FALSE and libmrss works fine. This is a possible code for
libnxml:

nxml_new(&nxml);
nxml_set_certificate(nxml, NULL, NULL, NULL, 0);

about libmrss:

options=mrss_options_new(0, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
mrss_parse_url_with_options("URL", &mrss, options);


2. You should use libnxml 0.17.3 and libmrrs 0.17.3. There was a bug
about verifypeer flag: The previous releases used it only if the
certificate (the second argument of nxml_set_certificate func) was not NULL.

3. I implemented 2 new functions:

CURLcode code;

if((ret = mrss_parse_url_with_options_and_error (argv[1], &data, NULL,
&code)))
  {
    fprintf (stderr, "MRSS return error: %s\n",
             ret ==
             MRSS_ERR_DOWNLOAD ? mrss_curl_strerror (code) :
             mrss_strerror (ret));
    return 1;
  }

With this function you can use the CURLcode about the downloading procedure.

Bye,
b

- --
URI: http://www.autistici.org/bakunin/
RDF Document: http://www.autistici.org/bakunin/foaf.rdf
Public Key: http://www.autistici.org/bakunin/bakunin_pk.asc
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)

iD8DBQFGaU2vOSG7KPv+ssQRAtF7AKCQU5iWO/MhDdWDmZ2XqB08ZJr6ngCfUvc8
ZCF3CL7UufdzIjpgq5jpiyc=
=1jZb
-----END PGP SIGNATURE-----

--- End Message ---

Attachment: signature.asc
Description: Digital signature

Reply via email to