Commit 4b90602e authored by Lev Walkin's avatar Lev Walkin

REAL/math

parent 6d1220a6
...@@ -16,9 +16,7 @@ uint8_t buf1[] = { ...@@ -16,9 +16,7 @@ uint8_t buf1[] = {
32 | ((2 << 6) + 4), /* [4], constructed */ 32 | ((2 << 6) + 4), /* [4], constructed */
4, 4,
0 | ((2 << 6) + 6), /* [6], primitive */ 0 | ((2 << 6) + 6), /* [6], primitive */
2, 0
0x91,
0x92
}; };
uint8_t buf2[] = { uint8_t buf2[] = {
...@@ -32,8 +30,8 @@ uint8_t buf2[] = { ...@@ -32,8 +30,8 @@ uint8_t buf2[] = {
4, 4,
0 | ((2 << 6) + 6), /* [6], primitive */ 0 | ((2 << 6) + 6), /* [6], primitive */
2, 2,
0x91, 0xC0,
0x92, 0x00,
32 | ((2 << 6) + 2), /* [2], constructed */ 32 | ((2 << 6) + 2), /* [2], constructed */
6, 6,
...@@ -41,16 +39,16 @@ uint8_t buf2[] = { ...@@ -41,16 +39,16 @@ uint8_t buf2[] = {
4, 4,
0 | ((2 << 6) + 6), /* [6], primitive */ 0 | ((2 << 6) + 6), /* [6], primitive */
2, 2,
0x91, 0x80,
0x92, 0x00,
32 | ((2 << 6) + 3), /* [3], constructed */ 32 | ((2 << 6) + 3), /* [3], constructed */
4, 4,
0 | ((2 << 6) + 6), /* [6], primitive */ 0 | ((2 << 6) + 6), /* [6], primitive */
2, 3,
0x91, 0x80,
0x92, 0x01,
0x02,
}; };
static void static void
......
...@@ -44,7 +44,7 @@ CXXFLAGS=\${COMMON_FLAGS} ${CXXFLAGS} ...@@ -44,7 +44,7 @@ CXXFLAGS=\${COMMON_FLAGS} ${CXXFLAGS}
all: check-executable all: check-executable
check-executable: compiled-module *.c* check-executable: compiled-module *.c*
\$(CC) \$(CFLAGS) -o check-executable *.c* \$(CC) \$(CFLAGS) -o check-executable -lm *.c*
# Compile the corresponding .asn1 spec. # Compile the corresponding .asn1 spec.
compiled-module: ${asn_module} ../../asn1c compiled-module: ${asn_module} ../../asn1c
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment