mongoc_ssl_opt_get_default changed in 1.2.0

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Minor - P4
    • 1.2.1
    • Affects Version/s: 1.2-rc0
    • Component/s: libmongoc, tls
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • 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:
              A. Jesse Jiryu Davis
              Reporter:
              Jeroen Ooms [X]
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: