* Fix RSA unsupported fallback

* Turn default log level off
This commit is contained in:
Maxwell Moyer-McKee 2024-09-04 16:24:11 -04:00 коммит произвёл GitHub
Родитель f341f4c64d
Коммит 07ccc8be92
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: B5690EEEBB952194
2 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -18,7 +18,7 @@ extern "C" {
#define SCOSSL_LOG_LEVEL_PREFIX_DEBUG "DEBUG"
// Level of tracing that is output to stderr / log file
static int _traceLogLevel = SCOSSL_LOG_LEVEL_INFO;
static int _traceLogLevel = SCOSSL_LOG_LEVEL_OFF;
static char *_traceLogFilename = NULL;
static FILE *_traceLogFile = NULL;

Просмотреть файл

@ -114,7 +114,7 @@ SCOSSL_RETURNLENGTH e_scossl_rsa_priv_dec(int flen, _In_reads_bytes_(flen) const
"Unsupported Padding: %d. Forwarding to OpenSSL. Size: %d.", padding, flen);
ossl_rsa_meth = RSA_PKCS1_OpenSSL();
pfn_rsa_meth_priv_dec = RSA_meth_get_priv_dec(ossl_rsa_meth);
if( !pfn_rsa_meth_priv_dec )
if( pfn_rsa_meth_priv_dec )
{
ret = pfn_rsa_meth_priv_dec(flen, from, to, rsa, padding);
}