mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-31 19:24:42 +02:00
Fix fall through.
This commit is contained in:
@@ -7641,11 +7641,13 @@ int wolfSSL_EVP_PKEY_print_public(WOLFSSL_BIO* out,
|
|||||||
indent, /* indent size */
|
indent, /* indent size */
|
||||||
keybits, /* bit length of the key */
|
keybits, /* bit length of the key */
|
||||||
pctx); /* not used */
|
pctx); /* not used */
|
||||||
break;
|
|
||||||
#else
|
#else
|
||||||
res = -2; /* not supported algo */
|
res = -2; /* not supported algo */
|
||||||
#endif
|
#endif
|
||||||
|
break;
|
||||||
|
|
||||||
case EVP_PKEY_DH:
|
case EVP_PKEY_DH:
|
||||||
|
|
||||||
#if defined(WOLFSSL_DH_EXTRA)
|
#if defined(WOLFSSL_DH_EXTRA)
|
||||||
keybits = wolfSSL_EVP_PKEY_size((WOLFSSL_EVP_PKEY*)pkey) * 8;
|
keybits = wolfSSL_EVP_PKEY_size((WOLFSSL_EVP_PKEY*)pkey) * 8;
|
||||||
res = PrintPubKeyDH(
|
res = PrintPubKeyDH(
|
||||||
@@ -7655,13 +7657,14 @@ int wolfSSL_EVP_PKEY_print_public(WOLFSSL_BIO* out,
|
|||||||
indent, /* indent size */
|
indent, /* indent size */
|
||||||
keybits, /* bit length of the key */
|
keybits, /* bit length of the key */
|
||||||
pctx); /* not used */
|
pctx); /* not used */
|
||||||
break;
|
|
||||||
#else
|
#else
|
||||||
res = -2; /* not supported algo */
|
res = -2; /* not supported algo */
|
||||||
#endif
|
#endif
|
||||||
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
res = -2; /* not supported algo */
|
res = -2; /* not supported algo */
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user