Index: /branches/amp_3_7_2/extensions/license_server/license_server/server/http_server.c
===================================================================
--- /branches/amp_3_7_2/extensions/license_server/license_server/server/http_server.c	(revision 2775)
+++ /branches/amp_3_7_2/extensions/license_server/license_server/server/http_server.c	(working copy)
@@ -123,12 +123,14 @@
     }
 
     /* check the generation date and expire date. */
-    strncpy(expdate, &license_key[license_len + 1 - BLOCK_LEN], sizeof(expdate));
-    strncpy(gendate, &license_key[license_len + 1 - BLOCK_LEN * 2], sizeof(gendate));
+    strncpy(expdate, &license_key[license_len + 1 - BLOCK_LEN], sizeof(expdate));
+    strncpy(gendate, &license_key[license_len + 1 - BLOCK_LEN * 2], sizeof(gendate));
 
-    if (check_valid_date(gendate) < 0 || check_valid_date(expdate) < 0) {
-        response = make_response_json(FAILURE_STATUS, "The license generation date or expire date is invalid.", NULL, action_name, log_device);
-        goto end;
+    if (strcmp(expdate,"99999999") != 0) {
+        if (check_valid_date(gendate) < 0 || check_valid_date(expdate) < 0) {
+            response = make_response_json(FAILURE_STATUS, "The license generation date or expire date is invalid.", NULL, action_name, log_device);
+            goto end;
+        }
     }
 
     if (check_date(expdate) == 0) {
