add else condition for logging string with OPENSSL_EXTRA

This commit is contained in:
Jacob Barthelmeh
2018-02-14 17:21:42 -07:00
parent c1b1fbaf7e
commit 1b98ccbac8

View File

@@ -266,6 +266,11 @@ void WOLFSSL_ERROR(int error)
* to unlock mutex and log what buffer was created. */ * to unlock mutex and log what buffer was created. */
} }
#if defined(OPENSSL_EXTRA) && !defined(WOLFCRYPT_ONLY) #if defined(OPENSSL_EXTRA) && !defined(WOLFCRYPT_ONLY)
}
else {
XSNPRINTF(buffer, sizeof(buffer),
"wolfSSL error occurred, error = %d", error);
} }
#endif #endif