use macros instead
This commit is contained in:
1 parent
1cdb0346d0
commit
ce74a25d06
1 file changed
+4
-2
@@ -25,10 +25,12 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
#include <ctype.h>
|
||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
|
#include <string.h>
|
||||||
#include <openssl/evp.h>
|
#include <openssl/evp.h>
|
||||||
#include <openssl/err.h>
|
#include <openssl/err.h>
|
||||||
#include <string.h>
|
|
||||||
|
|
||||||
uint32_t seed = 0;
|
uint32_t seed = 0;
|
||||||
|
|
||||||
@@ -149,7 +151,7 @@ int main (int argc, char* argv[]) {
|
|||||||
if (dec_tag[15] != dec_rdr[30]) continue;
|
if (dec_tag[15] != dec_rdr[30]) continue;
|
||||||
|
|
||||||
|
|
||||||
printf("\btimestamp: %lu\nkey: ", timestamp);
|
printf("\btimestamp: %" PRIu64 "\nkey: ", timestamp);
|
||||||
for (int i = 0; i < 16; i++) {
|
for (int i = 0; i < 16; i++) {
|
||||||
printf("%02x", key[i]);
|
printf("%02x", key[i]);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user