Stroika Library 3.0d16
 
Loading...
Searching...
No Matches
Cryptography/Providers/OpenSSL/Exception.inl
1/*
2 * Copyright(c) Sophist Solutions, Inc. 1990-2025. All rights reserved
3 */
4
5namespace Stroika::Foundation::Cryptography::Providers::OpenSSL {
6
7#if qStroika_HasComponent_OpenSSL
8 /*
9 ********************************************************************************
10 *************************** OpenSSL::Exception *********************************
11 ********************************************************************************
12 */
13 inline void Exception::ThrowLastErrorIfFailed (int status)
14 {
15 if (status == 0) [[unlikely]] {
16 ThrowLastError ();
17 }
18 }
19#endif
20
21}