Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-56243

Update aeadDecryptDataFrame() to pass through status rather than throwing

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
    • Fully Compatible
    • Security 2021-06-14

      aeadDecryptDataFrame() already returns status, but it's hardcoded to Status::OK() because it uasserts on any Status from the dependent method it call it makes.

      We should either pass that through and leave it to the caller, or keep the uassert and return void.

            Assignee:
            adrian.gonzalez@mongodb.com Adrian Gonzalez Montemayor
            Reporter:
            sara.golemon@mongodb.com Sara Golemon
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: