mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-01-30 06:22:13 +01:00
remove extraneous build gates and fix whitespace justification in a comment (peer review re PR #4772).
This commit is contained in:
@@ -551,9 +551,9 @@ static const char* TagString(byte tag)
|
||||
|
||||
/* Returns whether ASN.1 item is an integer and the Most-Significant Bit is set.
|
||||
*
|
||||
* @param [in] asn ASN.1 items to encode.
|
||||
* @param [in] data_a Data to place in each item. Lengths set were not known.
|
||||
* @param [in] i Index of item to check.
|
||||
* @param [in] asn ASN.1 items to encode.
|
||||
* @param [in] data_a Data to place in each item. Lengths set were not known.
|
||||
* @param [in] i Index of item to check.
|
||||
* @return 1 when ASN.1 item is an integer and MSB is 1.
|
||||
* @erturn 0 otherwise.
|
||||
*/
|
||||
|
||||
@@ -2558,13 +2558,11 @@ static int wc_RsaFunctionSync(const byte* in, word32 inLen, byte* out,
|
||||
ret = RSA_BUFFER_E;
|
||||
}
|
||||
|
||||
#ifndef WOLFSSL_XILINX_CRYPT // NOLINT(readability-redundant-preprocessor)
|
||||
if (ret == 0) {
|
||||
*outLen = keyLen;
|
||||
if (mp_to_unsigned_bin_len(tmp, out, keyLen) != MP_OKAY)
|
||||
ret = MP_TO_E;
|
||||
}
|
||||
#endif
|
||||
#else
|
||||
(void)type;
|
||||
(void)key;
|
||||
|
||||
Reference in New Issue
Block a user