change version number. added logging for MAC

mdb.crypto
Niko 2 years ago
parent 2717d0ee1a
commit cb78962cfc
  1. 2
      libraries/liblmdb/lmdb.h
  2. 1
      libraries/liblmdb/mdb.c

@ -244,7 +244,7 @@ typedef int mdb_filehandle_t;
MDB_VERINT(MDB_VERSION_MAJOR,MDB_VERSION_MINOR,MDB_VERSION_PATCH)
/** The release date of this library version */
#define MDB_VERSION_DATE "September 21, 2022"
#define MDB_VERSION_DATE "September 24, 2022"
/** A stringifier for the version info */
#define MDB_VERSTR(a,b,c,d) "LMDB master3 " #a "." #b "." #c ": (" d ")"

@ -10729,6 +10729,7 @@ done:
static int encfunc(const MDB_val *src, MDB_val *dst, const MDB_val *key, int encdec)
{
fprintf(stdout,"encrypting %d bytes with MAC size %d\n",src->mv_size, key[2].mv_size);
chacha8(src->mv_data, src->mv_size, key[0].mv_data, key[1].mv_data, dst->mv_data);
return 0;
}

Loading…
Cancel
Save