(lib/hcrypto) Make w32crypto the default and only RAND method on Windows

This commit is contained in:
Asanka Herath
2009-11-26 01:38:43 -05:00
parent 8f6d724979
commit e3882ffc62
3 changed files with 6 additions and 4 deletions

View File

@@ -31,7 +31,7 @@
RELDIR=lib\hcrypto
AUXCFLAGS=$(AUXCFLAGS) -DKRB5 -I$(INCDIR)\hcrypto
AUXCFLAGS=$(AUXCFLAGS) -DKRB5 -I$(HCRYPTOINCLUDEDIR)
!include ../../windows/NTMakefile.w32
@@ -58,6 +58,7 @@ INCFILES= \
$(HCRYPTOINCLUDEDIR)\md5.h \
$(HCRYPTOINCLUDEDIR)\pkcs12.h \
$(HCRYPTOINCLUDEDIR)\rand.h \
$(HCRYPTOINCLUDEDIR)\randi.h \
$(HCRYPTOINCLUDEDIR)\rc2.h \
$(HCRYPTOINCLUDEDIR)\rc4.h \
$(HCRYPTOINCLUDEDIR)\rsa.h \
@@ -98,8 +99,7 @@ libhcrypto_OBJs = \
$(OBJ)\md5.obj \
$(OBJ)\pkcs5.obj \
$(OBJ)\pkcs12.obj \
$(OBJ)\rand-fortuna.obj \
$(OBJ)\rand-timer.obj \
$(OBJ)\rand-w32.obj \
$(OBJ)\rand.obj \
$(OBJ)\rc2.obj \
$(OBJ)\rc4.obj \

View File

@@ -212,7 +212,7 @@ EXPORTS
; hc_RAND_egd_bytes
; hc_RAND_egd_method
hc_RAND_file_name
hc_RAND_fortuna_method
; hc_RAND_fortuna_method
hc_RAND_get_rand_method
hc_RAND_load_file
hc_RAND_pseudo_bytes
@@ -222,6 +222,7 @@ EXPORTS
hc_RAND_status
; hc_RAND_unix_method
; hc_RAND_timer_method
hc_RAND_w32crypto_method
hc_RAND_write_file
hc_RC2_cbc_encrypt
hc_RC2_decryptc

View File

@@ -62,6 +62,7 @@ typedef struct RAND_METHOD RAND_METHOD;
#define RAND_fortuna_method hc_RAND_fortuna_method
#define RAND_egd_method hc_RAND_egd_method
#define RAND_unix_method hc_RAND_unix_method
#define RAND_w32crypto_method hc_RAND_w32crypto_method
/*
*