Changeset 51856 in vbox for trunk/src/VBox/Runtime/common/crypto/x509-core.cpp
- Timestamp:
- Jul 3, 2014 6:39:21 PM (11 years ago)
- svn:sync-xref-src-repo-rev:
- 94708
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/crypto/x509-core.cpp
r51770 r51856 74 74 if (!strcmp(pThis->Algorithm.szObjId, RTCRX509ALGORITHMIDENTIFIERID_SHA512)) 75 75 return RTDIGESTTYPE_SHA512; 76 77 if (!strcmp(pThis->Algorithm.szObjId, RTCRX509ALGORITHMIDENTIFIERID_SHA384)) 78 return RTDIGESTTYPE_SHA384; 79 if (!strcmp(pThis->Algorithm.szObjId, RTCRX509ALGORITHMIDENTIFIERID_SHA224)) 80 return RTDIGESTTYPE_SHA224; 81 if (!strcmp(pThis->Algorithm.szObjId, RTCRX509ALGORITHMIDENTIFIERID_SHA512T224)) 82 return RTDIGESTTYPE_SHA512T224; 83 if (!strcmp(pThis->Algorithm.szObjId, RTCRX509ALGORITHMIDENTIFIERID_SHA512T256)) 84 return RTDIGESTTYPE_SHA512T256; 76 85 return RTDIGESTTYPE_INVALID; 77 86 } … … 101 110 if (!strcmp(pThis->Algorithm.szObjId, RTCRX509ALGORITHMIDENTIFIERID_SHA224)) 102 111 return 224 / 8; 112 if (!strcmp(pThis->Algorithm.szObjId, RTCRX509ALGORITHMIDENTIFIERID_SHA512T224)) 113 return 224 / 8; 114 if (!strcmp(pThis->Algorithm.szObjId, RTCRX509ALGORITHMIDENTIFIERID_SHA512T256)) 115 return 256 / 8; 103 116 if (!strcmp(pThis->Algorithm.szObjId, RTCRX509ALGORITHMIDENTIFIERID_WHIRLPOOL)) 104 117 return 512 / 8;
Note:
See TracChangeset
for help on using the changeset viewer.