Changeset 225 for trunk/src/sh_forward.c


Ignore:
Timestamp:
Mar 4, 2009, 11:39:50 PM (16 years ago)
Author:
katerina
Message:

Fix for ticket #150 (flawed input verification in SRP). Release 2.5.4

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/sh_forward.c

    r219 r225  
    12001200                      /* --- Now send H(A,B,H(Sc)) and check. ---
    12011201                       */
    1202                       if (foo_Sc != NULL)
     1202                      if (foo_Sc != NULL && 0 == sh_srp_check_zero (foo_Sc))
    12031203                        {
    12041204                          sh_srp_M(foo_A,
     
    41574157                                       conn->A,
    41584158                                       conn->client_entry->verifier);
    4159                   if (foo_Ss == NULL)
     4159
     4160                  if (foo_Ss == NULL || 0 != sh_srp_check_zero (foo_Ss))
    41604161                    {
    41614162                      status_update (conn->client_entry, CLT_FAILED);
Note: See TracChangeset for help on using the changeset viewer.