Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Close HPKERecipientContext when OHttpCryptoReceiver.Builder.build() t…
…hrows (#34) Motivation: It was possible to leak the HPKERecipientContext when the OHttpCryptoReceiver.Builder.build() method did throw. Modifications: Catch Throwable and only rethrow after HPKERecipientContext.close() was called. Result: Fix possible leak in case of error
- Loading branch information