Ver código fonte

Fixed win32 zip encryption. (#14)

Brucey 2 anos atrás
pai
commit
a2d1c1eb79
3 arquivos alterados com 5 adições e 5 exclusões
  1. 1 1
      zip.mod/common.bmx
  2. 2 2
      zip.mod/source.bmx
  3. 2 2
      zip.mod/zip.bmx

+ 1 - 1
zip.mod/common.bmx

@@ -1,4 +1,4 @@
-' Copyright (c) 2022 Bruce A Henderson
+' Copyright (c) 2023 Bruce A Henderson
 ' All rights reserved.
 '
 ' Redistribution and use in source and binary forms, with or without

+ 2 - 2
zip.mod/source.bmx

@@ -1,4 +1,4 @@
-' Copyright (c) 2022 Bruce A Henderson
+' Copyright (c) 2023 Bruce A Henderson
 ' All rights reserved.
 '
 ' Redistribution and use in source and binary forms, with or without
@@ -26,7 +26,7 @@ Import Pub.zlib
 
 Import "../../pub.mod/zlib.mod/*.h"
 
-?linux
+?linux or win32
 Import Net.mbedtlsCrypto
 
 Import "../../net.mod/mbedtls.mod/mbedtls/include/*.h"

+ 2 - 2
zip.mod/zip.bmx

@@ -1,4 +1,4 @@
-' Copyright (c) 2022 Bruce A Henderson
+' Copyright (c) 2023 Bruce A Henderson
 ' All rights reserved.
 '
 ' Redistribution and use in source and binary forms, with or without
@@ -29,7 +29,7 @@ ModuleInfo "CC_OPTS: -DHAVE_ZLIB_H"
 ModuleInfo "CC_OPTS: -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64"
 ?win32
 ModuleInfo "CC_OPTS: -DLIBARCHIVE_STATIC"
-?linux
+?linux or win32
 ModuleInfo "CC_OPTS: -DHAVE_LIBMBEDCRYPTO -DHAVE_MBEDTLS_AES_H -DHAVE_MBEDTLS_PKCS5_H -DHAVE_MBEDTLS_MD_H"
 ?