Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-933

mongoc_ssl_opt_get_default changed in 1.2.0

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 1.2.1
    • Affects Version/s: 1.2-rc0
    • Component/s: libmongoc, tls
    • Labels:
      None

      Is it intended that `mongoc_ssl_opt_get_default()` will now enforce SSL and disconnect otherwise?

      To reproduce, use connect.c
      from the tutorial and add:

      mongoc_client_set_ssl_opts(client, mongoc_ssl_opt_get_default());
      

      It will no longer connect to non-ssl servers. This was not the case in 1.1

            Assignee:
            jesse@mongodb.com A. Jesse Jiryu Davis
            Reporter:
            Jeroenooms Jeroen Ooms [X]
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: