Skip to content

Commit b2f812e

Browse files
committed
Fixes after rebase on latest master
1 parent 33ec146 commit b2f812e

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

wolfcrypt/benchmark/benchmark.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2081,7 +2081,6 @@ static const char* bench_result_words2[][6] = {
20812081
#endif
20822082
};
20832083
#endif /* !WC_NO_RNG || WOLFSSL_HAVE_MLKEM */
2084-
#endif
20852084
#if defined(WOLFSSL_MICROCHIP_TA100)
20862085
#include <wolfssl/wolfcrypt/port/atmel/atmel.h>
20872086
#endif

wolfcrypt/src/signature.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@ int wc_SignatureGetSize(enum wc_SignatureType sig_type,
124124
sig_len = wc_RsaEncryptSize((RsaKey*)(wc_ptr_t)key);
125125
#else
126126
sig_len = wc_RsaEncryptSize((const RsaKey*)key);
127+
#endif
127128
#if defined(WOLFSSL_MICROCHIP_TA100)
128129
if (sig_len <= 0) {
129130
const RsaKey* r = (const RsaKey*)key;

wolfcrypt/test/test.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71075,8 +71075,8 @@ static void print_fiducials(void) {
7107571075
fiducial1, fiducial2, fiducial3, fiducial4);
7107671076
}
7107771077

71078-
#else /* NO_CRYPT_TEST && !WC_TEST_EXPORT_SUBTESTS */
71078+
#if defined(NO_CRYPT_TEST) && !defined(WC_TEST_EXPORT_SUBTESTS)
7107971079
#ifndef NO_MAIN_DRIVER
7108071080
int main(void) { return 0; }
71081-
#endif
71082-
#endif /* NO_CRYPT_TEST && !WC_TEST_EXPORT_SUBTESTS */
71081+
#endif /* !NO_MAIN_DRIVER */
71082+
#endif /* defined(NO_CRYPT_TEST) && !defined(WC_TEST_EXPORT_SUBTESTS) */

0 commit comments

Comments
 (0)