Changeset 49336 in vbox for trunk/src/VBox/Frontends
- Timestamp:
- Oct 30, 2013 3:37:57 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/net/UINetworkReply.cpp
r49158 r49336 290 290 /* Parse the file content: */ 291 291 QString strData(file.readAll()); 292 #ifdef Q_WS_WIN 293 # define CERT "-{5}BEGIN CERTIFICATE-{5}[\\s\\S\\r\\n]+-{5}END CERTIFICATE-{5}" 294 # define REOLD "(" CERT ")\\r\\n(" CERT ")\\r\\n(" CERT ")" 295 # define RENEW "(" CERT ")\\r\\n(" CERT ")" 296 #else 297 # define CERT "-{5}BEGIN CERTIFICATE-{5}[\\s\\S\\n]+-{5}END CERTIFICATE-{5}" 298 # define REOLD "(" CERT ")\\n(" CERT ")\\n(" CERT ")" 299 # define RENEW "(" CERT ")\\n(" CERT ")" 300 #endif 292 #define CERT "-{5}BEGIN CERTIFICATE-{5}[\\s\\S\\r{0,1}\\n]+-{5}END CERTIFICATE-{5}" 293 #define REOLD "(" CERT ")\\r{0,1}\\n(" CERT ")\\r{0,1}\\n(" CERT ")" 294 #define RENEW "(" CERT ")\\r{0,1}\\n(" CERT ")" 301 295 /* First check if we have the old format with three certificates: */ 302 296 QRegExp regExp(REOLD);
Note:
See TracChangeset
for help on using the changeset viewer.