- Timestamp:
- Apr 16, 2013 12:53:47 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/net/UINetworkReply.cpp
r45569 r45570 382 382 { 383 383 /* PCA 3G5 secure hash algorithm 1: */ 384 const char baSha1PCA3G5[] =384 const unsigned char baSha1PCA3G5[] = 385 385 { 386 386 0x4e, 0xb6, 0xd5, 0x78, 0x49, 0x9b, 0x1c, 0xcf, 0x5f, 0x58, … … 388 388 }; 389 389 /* PCA 3G5 secure hash algorithm 512: */ 390 const char baSha512PCA3G5[] =390 const unsigned char baSha512PCA3G5[] = 391 391 { 392 392 0xd4, 0xf8, 0x10, 0x54, 0x72, 0x77, 0x0a, 0x2d, … … 399 399 0xd2, 0x6b, 0xa8, 0x9a, 0xf0, 0xb3, 0x6a, 0x01 400 400 }; 401 QByteArray pca3G5sha1 = QByteArray::fromRawData( baSha1PCA3G5, sizeof(baSha1PCA3G5));402 QByteArray pca3G5sha512 = QByteArray::fromRawData( baSha512PCA3G5, sizeof(baSha512PCA3G5));401 QByteArray pca3G5sha1 = QByteArray::fromRawData((const char *)baSha1PCA3G5, sizeof(baSha1PCA3G5)); 402 QByteArray pca3G5sha512 = QByteArray::fromRawData((const char *)baSha512PCA3G5, sizeof(baSha512PCA3G5)); 403 403 404 404 /* Verify certificate: */ … … 410 410 { 411 411 /* PCA 3 secure hash algorithm 1: */ 412 const char baSha1PCA3[] =412 const unsigned char baSha1PCA3[] = 413 413 { 414 414 0xa1, 0xdb, 0x63, 0x93, 0x91, 0x6f, 0x17, 0xe4, 0x18, 0x55, … … 416 416 }; 417 417 /* PCA 3 secure hash algorithm 512: */ 418 const char baSha512PCA3[] =418 const unsigned char baSha512PCA3[] = 419 419 { 420 420 0xbb, 0xf7, 0x8a, 0x19, 0x9f, 0x37, 0xee, 0xa2, … … 427 427 0x0a, 0x67, 0x83, 0x87, 0xc5, 0x45, 0xc4, 0x99 428 428 }; 429 QByteArray pca3sha1 = QByteArray::fromRawData( baSha1PCA3, sizeof(baSha1PCA3));430 QByteArray pca3sha512 = QByteArray::fromRawData( baSha512PCA3, sizeof(baSha512PCA3));429 QByteArray pca3sha1 = QByteArray::fromRawData((const char *)baSha1PCA3, sizeof(baSha1PCA3)); 430 QByteArray pca3sha512 = QByteArray::fromRawData((const char *)baSha512PCA3, sizeof(baSha512PCA3)); 431 431 432 432 /* Verify certificate: */
Note:
See TracChangeset
for help on using the changeset viewer.