We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 13ec0f0 + 126df1d commit 72fc08eCopy full SHA for 72fc08e
1 file changed
src/internal.c
@@ -25165,11 +25165,13 @@ const char* wolfSSL_ERR_reason_error_string(unsigned long e)
25165
return wc_GetErrorString(error);
25166
}
25167
25168
-#ifdef OPENSSL_EXTRA
25169
if (error == 0) {
+#ifdef OPENSSL_EXTRA
25170
return "ok";
25171
- }
+#else
25172
+ return "unknown error number";
25173
#endif
25174
+ }
25175
25176
switch ((enum wolfSSL_ErrorCodes)error) {
25177
0 commit comments