Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-47359

QSslSocket::addCaCertificates path documentation incorrect

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P3: Somewhat important P3: Somewhat important
    • 5.6.0 RC
    • 5.5.0
    • Documentation
    • None
    • b29d18f

      The current documentation states:
      Searches all files in the path for certificates encoded in the specified format and adds them to this socket's CA certificate database. path can be explicit, or it can contain wildcards in the format specified by syntax.

      However, it directly calls QSslCertificate::fromPath, and it's documentation states:
      Searches all files in the path for certificates encoded in the specified format and returns them in a list. must be a file or a pattern matching one or more files, as specified by syntax.

      So just giving a path will not work. This can be fixed in documentation, or the addCaCertificates function could be changed to match it's documentation.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            treinio Topi Reiniƶ
            ppriphagen Patrick Riphagen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes