summaryrefslogtreecommitdiff
path: root/print-dsa.c
diff options
context:
space:
mode:
Diffstat (limited to 'print-dsa.c')
-rw-r--r--print-dsa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/print-dsa.c b/print-dsa.c
index 7a6968ab..3d142b28 100644
--- a/print-dsa.c
+++ b/print-dsa.c
@@ -68,7 +68,7 @@
* b12: To_CPU's Code[0]
*/
-#define TOK(tag, byte, mask, shift) ((((const u_char *) tag)[byte] & (mask)) >> (shift))
+#define TOK(tag, byte, mask, shift) ((GET_U_1(&(((const u_char *) tag)[byte])) & (mask)) >> (shift))
#define DSA_LEN 4
#define DSA_MODE(tag) TOK(tag, 0, 0xc0, 6)