Explorar el Código

* Fix compile error

Bryan Drewery hace 17 años
padre
commit
b01e5473ab
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/binary.c

+ 1 - 1
src/binary.c

@@ -136,7 +136,7 @@ bin_checksum(const char *fname, int todo)
 
     /* Copy over only the dynamic data, leaving the pack config static */
     memcpy(&settings.bots, &newsettings.bots, SIZE_CONF);
-    OPENSSL_cleanse(newsettings, sizeof(settings_t));
+    OPENSSL_cleanse(&newsettings, sizeof(settings_t));
 
     munmap(map, size);
     close(fd);