This commit is contained in:
Frank Denis
2015-10-17 21:10:52 +02:00
parent 1647b30f1a
commit 2aef671fd9
+9 -9
View File
@@ -4,15 +4,15 @@
int main(void)
{
unsigned char buf1[1000];
unsigned char buf2[1000];
char buf3[33];
unsigned char buf4[4];
unsigned char nonce[24];
char nonce_hex[49];
const char *hex;
const char *hex_end;
size_t bin_len;
unsigned char buf1[1000];
unsigned char buf2[1000];
char buf3[33];
unsigned char buf4[4];
unsigned char nonce[24];
char nonce_hex[49];
const char *hex;
const char *hex_end;
size_t bin_len;
randombytes_buf(buf1, sizeof buf1);
memcpy(buf2, buf1, sizeof buf2);