Skip to content

Commit 6fe7af7

Browse files
add debug print out for building wolfssl with indef support
1 parent 83cccaf commit 6fe7af7

1 file changed

Lines changed: 11 additions & 1 deletion

File tree

pkcs7/benchmark-streaming-envelop.c

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,16 @@
3131
#include <stdio.h>
3232
#include <sys/time.h>
3333

34+
#ifndef ASN_BER_TO_DER
35+
36+
int main(int argc, char** argv)
37+
{
38+
printf("Recompile wolfSSL with --enable-indef\n");
39+
return 1;
40+
}
41+
42+
#else
43+
3444
#define CONTENT_FILE_NAME "benchmark-content.bin"
3545
#define ENCODED_FILE_NAME "test-stream-dec.p7b"
3646
#define DECODED_FILE_NAME "benchmark-decrypted.bin"
@@ -430,4 +440,4 @@ int main(int argc, char** argv)
430440
wolfCrypt_Cleanup();
431441
return 0;
432442
}
433-
443+
#endif /* ASN_BER_TO_DER */

0 commit comments

Comments
 (0)