mirror of
https://github.com/psforever/PSCrypto.git
synced 2026-04-27 15:15:24 +00:00
Bump CryptoPP version to account for RNG fix
This commit is contained in:
parent
d6de0fc30e
commit
b376120dc4
6 changed files with 35 additions and 8 deletions
|
|
@ -4,7 +4,7 @@
|
|||
#define _PS_STRINGIZE(S) #S
|
||||
|
||||
#define PSCRYPTO_VERSION_MAJOR 1
|
||||
#define PSCRYPTO_VERSION_MINOR 0
|
||||
#define PSCRYPTO_VERSION_MINOR 1
|
||||
|
||||
#define PSCRYPTO_VERSION_STRING _PS_STRINGIZE(PSCRYPTO_VERSION_MAJOR) "." _PS_STRINGIZE(PSCRYPTO_VERSION_MINOR)
|
||||
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ from binascii import hexlify
|
|||
from ctypes import *
|
||||
import os
|
||||
|
||||
lib = cdll.LoadLibrary(os.path.dirname(os.path.realpath(__file__)) + "/pscrypto.dll")
|
||||
lib = cdll.LoadLibrary(os.path.dirname(os.path.realpath(__file__)) + "/libpscrypto.so")
|
||||
|
||||
lib.MD5_MAC.restype = c_bool
|
||||
lib.MD5_MAC.prototype = [c_char_p, c_uint, c_char_p, c_uint, c_char_p, c_uint]
|
||||
|
|
@ -75,7 +75,6 @@ def ServerEnc(encHandle, pt):
|
|||
return ct.raw
|
||||
|
||||
def main():
|
||||
raw_input()
|
||||
(dhHandle, priv, pub) = ServerDHStart("\x41\x75"*8, "\x01"*15 + "\x03")
|
||||
print "Started"
|
||||
print ServerDHAgree(dhHandle, priv, "A"*16)
|
||||
|
|
|
|||
|
|
@ -2,8 +2,8 @@
|
|||
|
||||
// DLL version information.
|
||||
VS_VERSION_INFO VERSIONINFO
|
||||
FILEVERSION 1,0,0,0
|
||||
PRODUCTVERSION 1,0,0,0
|
||||
FILEVERSION 1,1,0,0
|
||||
PRODUCTVERSION 1,1,0,0
|
||||
FILEFLAGSMASK VS_FFI_FILEFLAGSMASK
|
||||
#ifdef _DEBUG
|
||||
FILEFLAGS VS_FF_DEBUG | VS_FF_PRERELEASE
|
||||
|
|
@ -20,12 +20,12 @@ BEGIN
|
|||
BEGIN
|
||||
VALUE "CompanyName", "PSForever Project"
|
||||
VALUE "FileDescription", "A PlanetSide crypto library for CryptoPP."
|
||||
VALUE "FileVersion", "1.0.0.0"
|
||||
VALUE "FileVersion", "1.1.0.0"
|
||||
VALUE "InternalName", "pscrypto"
|
||||
VALUE "LegalCopyright", "(C) 2016 PSForever Project"
|
||||
VALUE "OriginalFilename", "pscrypto.dll"
|
||||
VALUE "ProductName", "PlanetSide Crypto"
|
||||
VALUE "ProductVersion", "1.0.0.0"
|
||||
VALUE "ProductVersion", "1.1.0.0"
|
||||
END
|
||||
END
|
||||
BLOCK "VarFileInfo"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue