[BACK]Return to s_cb.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / openssl

Diff for /src/usr.bin/openssl/s_cb.c between version 1.4 and 1.5

version 1.4, 2015/07/20 21:52:07 version 1.5, 2015/09/10 06:36:45
Line 129 
Line 129 
 #define COOKIE_SECRET_LENGTH    16  #define COOKIE_SECRET_LENGTH    16
   
 int verify_depth = 0;  int verify_depth = 0;
 int verify_error = X509_V_OK;  
 int verify_return_error = 0;  int verify_return_error = 0;
 unsigned char cookie_secret[COOKIE_SECRET_LENGTH];  unsigned char cookie_secret[COOKIE_SECRET_LENGTH];
 int cookie_initialized = 0;  int cookie_initialized = 0;
Line 157 
Line 156 
                 if (verify_depth >= depth) {                  if (verify_depth >= depth) {
                         if (!verify_return_error)                          if (!verify_return_error)
                                 ok = 1;                                  ok = 1;
                         verify_error = X509_V_OK;  
                 } else {                  } else {
                         ok = 0;                          ok = 0;
                         verify_error = X509_V_ERR_CERT_CHAIN_TOO_LONG;  
                 }                  }
         }          }
         switch (err) {          switch (err) {

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5