Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Really use the minimum password length

  • Loading branch information...
commit ef9c72ab4003e49bd18e2cb8610c346a399fcfe0 1 parent 2ff4838
Gary Ching-Pang Lin authored October 09, 2012

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  MokManager.c
2  MokManager.c
@@ -544,7 +544,7 @@ static EFI_STATUS store_keys (void *MokNew, UINTN MokNewSize)
544 544
 		      PASSWORD_MIN, PASSWORD_MAX);
545 545
 		get_line(&pw_length, password, PASSWORD_MAX, 0);
546 546
 
547  
-		if (pw_length < 8) {
  547
+		if (pw_length < PASSWORD_MIN) {
548 548
 			Print(L"At least %d characters for the password\n",
549 549
 			      PASSWORD_MIN);
550 550
 		}

0 notes on commit ef9c72a

Please sign in to comment.
Something went wrong with that request. Please try again.