message: Simplied the code
diff: #include <openssl/pem.h>
  #include <openssl/x509.h>
  -#include <QRegExp>
  -
  #if !__has_feature(objc_arc)
  #error this file must be built with ARC support
  #endif
  @@ -60,15 +58,8 @@ inline void initializeSystemVersion() {
  return;
  }
  - QRegExp version_re("^([0-9]+)\\.([0-9]+)$");
  - if (version_re.indexIn(QString::fromNSString([array objectAtIndex:1])) == 0) {
  - osver_major = version_re.cap(1).toInt();
  - osver_minor = version_re.cap(2).toInt();
  - osver_patch = 0;
  - return;
  - }
  NSArray *versionArray = [[array objectAtIndex:1] componentsSeparatedByString:@"."];
  - if (versionArray.count < 3) {
  + if (versionArray.count < 2) {
  osver_major = 10;
  osver_minor = 7;
  osver_patch = 0;
  @@ -76,7 +67,9 @@ inline void initializeSystemVersion() {
  }
  osver_major = [[versionArray objectAtIndex:0] intValue];
  osver_minor = [[versionArray objectAtIndex:1] intValue];
  + if (versionArray.count > 2) {
  osver_patch = [[versionArray objectAtIndex:2] intValue];
  + }
  #endif
  }
  