Ticket #402: options.c.patch

File options.c.patch, 406 bytes (added by andrisk, 8 years ago)

Patch to src/openvpn/options.c

  • options.c

    old new  
    68746874    {
    68756875      char *s = p[1];
    68766876      VERIFY_PERMISSION (OPT_P_GENERAL);
    6877       if( strncmp ("ext:",s,4) != 0 )
     6877      if (strncmp("ext:", s, 4) == 0)
    68786878        while ((*s = toupper(*s)) != '\0') s++; /* Uppercase if necessary */
    68796879      options->x509_username_field = p[1];
    68806880    }