Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
70916b2e03
  1. 4
      crypto777/iguana_utils.c
  2. 4
      crypto777/nanosrc/transports/utils/base64.c
  3. BIN
      iguana/pnacl/Release/iguana.pexe

4
crypto777/iguana_utils.c

@ -668,7 +668,7 @@ void reverse_hexstr(char *str)
free(rev); free(rev);
} }
/*int32_t nn_base64_decode (const char *in, size_t in_len,uint8_t *out, size_t out_len) int32_t nn_base64_decode (const char *in, size_t in_len,uint8_t *out, size_t out_len)
{ {
uint32_t ii,io,rem,v; uint8_t ch; uint32_t ii,io,rem,v; uint8_t ch;
// Unrolled lookup of ASCII code points. 0xFF represents a non-base64 valid character. // Unrolled lookup of ASCII code points. 0xFF represents a non-base64 valid character.
@ -778,7 +778,7 @@ int32_t nn_base64_encode (const uint8_t *in, size_t in_len,char *out, size_t out
out [io] = '\0'; out [io] = '\0';
return io; return io;
}*/ }
/* /*
NXT address converter, NXT address converter,

4
crypto777/nanosrc/transports/utils/base64.c

@ -24,7 +24,7 @@
#include <ctype.h> #include <ctype.h>
int nn_base64_decode (const char *in, size_t in_len, int _nn_base64_decode (const char *in, size_t in_len,
uint8_t *out, size_t out_len) uint8_t *out, size_t out_len)
{ {
unsigned ii; unsigned ii;
@ -101,7 +101,7 @@ int nn_base64_decode (const char *in, size_t in_len,
return io; return io;
} }
int nn_base64_encode (const uint8_t *in, size_t in_len, int _nn_base64_encode (const uint8_t *in, size_t in_len,
char *out, size_t out_len) char *out, size_t out_len)
{ {
unsigned ii; unsigned ii;

BIN
iguana/pnacl/Release/iguana.pexe

Binary file not shown.
Loading…
Cancel
Save