exclude_file_name_regexp--sc_program_name = ^tests/|examples/
exclude_file_name_regexp--sc_prohibit_atoi_atof = ^src/asn1Coding.c|src/asn1Decoding.c$$
exclude_file_name_regexp--sc_prohibit_empty_lines_at_EOF = ^tests/crlf.cer|tests/TestIndef.p12$$
+exclude_file_name_regexp--sc_error_message_uppercase = ^tests/Test_tree.c$$
+exclude_file_name_regexp--sc_unmarked_diagnostics = ^tests/Test_tree.c$$
bootstrap-tools := autoconf,automake,libtool,bison
gpg_key_ID = b565716f
{
snprintf (last_error_token, sizeof(last_error_token),
"%s", last_token);
- fprintf(stderr,
- "%s:%u: Warning: %s is a built-in ASN.1 type.\n",
+ fprintf(stderr, "%s:%u: Warning: %s is a built-in ASN.1 type.\n",
file_name, line_number, last_token);
return;
}
* @tl_len: the bytes of the @tl field
*
* Creates the DER encoding for various simple ASN.1 types like strings etc.
- * It stores the tag and length in @tl, which should have space for at least
+ * It stores the tag and length in @tl, which should have space for at least
* %ASN1_MAX_TL_SIZE bytes. Initially @tl_len should contain the size of @tl.
*
* The complete DER encoding should consist of the value in @tl appended
* with the provided @str.
*
- * Returns: %ASN1_SUCCESS if successful or an error value.
+ * Returns: %ASN1_SUCCESS if successful or an error value.
**/
int
asn1_encode_simple_der (unsigned int etype, const unsigned char *str,
* Decodes a simple DER encoded type (e.g. a string, which is not constructed).
* The output is a pointer inside the @der.
*
- * Returns: %ASN1_SUCCESS if successful or an error value.
+ * Returns: %ASN1_SUCCESS if successful or an error value.
**/
int
asn1_decode_simple_der (unsigned int etype, const unsigned char *der,
int benchmark_must_finish = 0;
-#if defined(_WIN32)
+#if defined _WIN32
#include <windows.h>
DWORD WINAPI
alarm_handler (LPVOID lpParameter)
gettime (&st->start);
benchmark_must_finish = 0;
-#if defined(_WIN32)
+#if defined _WIN32
st->wtimer = CreateWaitableTimer (NULL, TRUE, NULL);
if (st->wtimer == NULL)
{
double dspeed, ddata;
char imetric[16];
-#if defined(_WIN32)
+#if defined _WIN32
if (st->wtimer != NULL)
CloseHandle (st->wtimer);
if (st->wthread != NULL)
#include <sys/time.h>
#include <time.h>
#include <signal.h>
-#if defined(_WIN32)
+#if defined _WIN32
#include <windows.h>
#endif
#include "timespec.h" /* gnulib gettime */
struct timespec start;
unsigned long size;
sighandler_t old_handler;
-#if defined(_WIN32)
+#if defined _WIN32
HANDLE wtimer;
HANDLE wthread;
LARGE_INTEGER alarm_timeout;