]> cvs.zerfleddert.de Git - proxmark3-svn/blobdiff - client/crypto/asn1dump.c
fix 'hf 15 csetuid' (#890)
[proxmark3-svn] / client / crypto / asn1dump.c
index 60799fc8c10dfa14bd4b7fbbed324c2546561008..9570be203b7a59aeee15fbc8242c72cccec44dbe 100644 (file)
@@ -8,11 +8,14 @@
 // asn.1 dumping
 //-----------------------------------------------------------------------------
 
+#define _POSIX_C_SOURCE 200809L                 // need for strnlen()
+
 #include "asn1dump.h"
 #include <ctype.h>
 #include <stdlib.h>
 #include <unistd.h> 
 #include <stdio.h>
+#include <string.h>
 #include <jansson.h>
 #include <mbedtls/asn1.h>
 #include <mbedtls/oid.h>
Impressum, Datenschutz