Changeset 41911 in vbox
- Timestamp:
- Jun 25, 2012 2:42:30 PM (13 years ago)
- Location:
- trunk
- Files:
-
- 2 deleted
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/mangling.h
r41909 r41911 1021 1021 # define RTRandAdvCreateSystemFaster RT_MANGLER(RTRandAdvCreateSystemFaster) 1022 1022 # define RTRandAdvCreateSystemTruer RT_MANGLER(RTRandAdvCreateSystemTruer) 1023 # define RTRandAdvCreateOpenssl RT_MANGLER(RTRandAdvCreateOpenssl)1024 1023 # define RTRandAdvDestroy RT_MANGLER(RTRandAdvDestroy) 1025 1024 # define RTRandAdvRestoreState RT_MANGLER(RTRandAdvRestoreState) -
trunk/include/iprt/rand.h
r41909 r41911 151 151 152 152 /** 153 * Create an instance of the openssl random number generator.154 *155 * @returns IPRT status code.156 * @retval VERR_NOT_SUPPORTED on platforms which doesn't have this feature.157 *158 * @param phRand Where to store the handle to the generator.159 *160 */161 RTDECL(int) RTRandAdvCreateOpenssl(PRTRAND phRand) RT_NO_THROW;162 163 /**164 153 * Create an instance of the truer random number generator for the OS. 165 154 * -
trunk/src/VBox/Runtime/Makefile.kmk
r41909 r41911 364 364 common/rand/randadv.cpp \ 365 365 common/rand/randparkmiller.cpp \ 366 common/rand/randopenssl.cpp \367 366 common/sort/RTSortIsSorted.cpp \ 368 367 common/sort/RTSortApvIsSorted.cpp \ … … 1030 1029 RuntimeBldProg_BLD_TRG_ARCH := $(KBUILD_HOST_ARCH) 1031 1030 RuntimeBldProg_BLD_TRG_CPU := $(KBUILD_HOST_CPU) 1032 RuntimeBldProg_SOURCES := $(filter-out \1033 common/rand/randopenssl.cpp \1034 , $(RuntimeR3_SOURCES))1035 RuntimeBldProg_SOURCES += \1036 generic/RTRandAdvCreateOpenssl-generic.cpp1037 1031 1038 1032 … … 1057 1051 common/checksum/RTSha1Digest.cpp \ 1058 1052 common/checksum/sha% \ 1059 common/rand/randopenssl.cpp \1060 1053 generic/RTLogWriteUser-generic.cpp \ 1061 1054 , $(RuntimeR3_SOURCES)) 1062 1055 RuntimeGuestR3_SOURCES += \ 1063 1056 common/time/timesysalias.cpp \ 1064 VBox/logbackdoor.cpp \ 1065 generic/RTRandAdvCreateOpenssl-generic.cpp 1057 VBox/logbackdoor.cpp 1066 1058 RuntimeGuestR3_SOURCES.$(KBUILD_TARGET) := $(RuntimeR3_SOURCES.$(KBUILD_TARGET)) 1067 1059 RuntimeGuestR3_SOURCES.$(KBUILD_HOST) := $(RuntimeR3_SOURCES.$(KBUILD_HOST)) -
trunk/src/VBox/Runtime/common/rand/rand.cpp
r41909 r41911 62 62 { 63 63 RTRAND hRand; 64 int rc = RTRandAdvCreateOpenssl(&hRand); 65 if (RT_FAILURE(rc)) 66 rc = RTRandAdvCreateSystemFaster(&hRand); 64 int rc = RTRandAdvCreateSystemFaster(&hRand); 67 65 if (RT_FAILURE(rc)) 68 66 rc = RTRandAdvCreateParkMiller(&hRand); -
trunk/src/VBox/Storage/testcase/Makefile.kmk
r41909 r41911 77 77 vbox-img_TEMPLATE = VBOXR3STATIC 78 78 vbox-img_DEFS += IN_VBOXDDU IN_VBOXDDU_STATIC VBOX_HDD_NO_DYNAMIC_BACKENDS IN_RT_R3 79 vbox-img_SDKS = VBOX_OPENSSL80 79 vbox-img_SOURCES = \ 81 80 vbox-img.cpp \
Note:
See TracChangeset
for help on using the changeset viewer.