mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-08-01 03:34:39 +02:00
move variable declaration to top of function and silence compiler warning
This commit is contained in:
@@ -695,14 +695,16 @@ WOLFSSL_API int wolfSSL_EVP_PKEY_decrypt(WOLFSSL_EVP_PKEY_CTX *ctx,
|
||||
unsigned char *out, size_t *outlen,
|
||||
const unsigned char *in, size_t inlen)
|
||||
{
|
||||
if (ctx == NULL)return WOLFSSL_FAILURE;
|
||||
int len;
|
||||
|
||||
if (ctx == NULL)return 0;
|
||||
WOLFSSL_ENTER("EVP_PKEY_decrypt");
|
||||
|
||||
(void)out;
|
||||
(void)outlen;
|
||||
(void)in;
|
||||
(void)inlen;
|
||||
int len;
|
||||
(void)len;
|
||||
|
||||
switch (ctx->pkey->type) {
|
||||
#if !defined(NO_RSA) && !defined(HAVE_USER_RSA)
|
||||
|
Reference in New Issue
Block a user