Skip to content

Commit 665e137

Browse files
committed
Fixes after rebase on latest master
1 parent 748286f commit 665e137

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
@@ -70872,8 +70872,8 @@ static void print_fiducials(void) {
7087270872
fiducial1, fiducial2, fiducial3, fiducial4);
7087370873
}
7087470874

70875-
#else /* NO_CRYPT_TEST && !WC_TEST_EXPORT_SUBTESTS */
70875+
#if defined(NO_CRYPT_TEST) && !defined(WC_TEST_EXPORT_SUBTESTS)
7087670876
#ifndef NO_MAIN_DRIVER
7087770877
int main(void) { return 0; }
70878-
#endif
70879-
#endif /* NO_CRYPT_TEST && !WC_TEST_EXPORT_SUBTESTS */
70878+
#endif /* !NO_MAIN_DRIVER */
70879+
#endif /* defined(NO_CRYPT_TEST) && !defined(WC_TEST_EXPORT_SUBTESTS) */

0 commit comments

Comments
 (0)