scitokens / scitokens-cpp

A C++ implementation of the SciTokens library with a C library interface
Apache License 2.0
5 stars 22 forks source link

fix problem with enforcer_test() not returning err_msg #93

Closed n-soda closed 2 years ago

n-soda commented 2 years ago

@atsushi0804 found that enforcer_test() was not returning err_msg correctly and why. the attached test program shows "(null)" as err_msg.

scitokens-bug.tgz

djw8605 commented 2 years ago

I think the underlying issue is that the enforcer is not throwing the exception. I think it can be fixed with the simple fix in #94

n-soda commented 2 years ago

thanks for the fix!