Alexey Serbin has uploaded this change for review. ( http://gerrit.cloudera.org:8080/19895
Change subject: [util] clear OpenSSL error queue on jwt-cpp activity ...................................................................... [util] clear OpenSSL error queue on jwt-cpp activity As it turns out, jwt-cpp doesn't clean up OpenSSL error queue in case of errors. While I think it's a good idea to correct that improper OpenSSL API usage in the jwt-cpp library itself (and I'm going to work on a patch for jwt-cpp library upstream), I updated Kudu's jwt-util code to report on those errors and clean the error queue as an interim solution. I haven't added any tests, but a few tests in a follow-up patch would fail without these changes. This is a follow-up to 5a3d116f302bde07e86bf80c237f8a595d5003b4. Change-Id: I1a18a0d78bca0ea32878dc3825523e1bd6ecb019 --- M src/kudu/util/jwt-util-test.cc M src/kudu/util/jwt-util.cc 2 files changed, 50 insertions(+), 43 deletions(-) git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/95/19895/1 -- To view, visit http://gerrit.cloudera.org:8080/19895 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: kudu Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: I1a18a0d78bca0ea32878dc3825523e1bd6ecb019 Gerrit-Change-Number: 19895 Gerrit-PatchSet: 1 Gerrit-Owner: Alexey Serbin <[email protected]>
