httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From do...@apache.org
Subject cvs commit: httpd-2.0/modules/ssl ssl_engine_kernel.c
Date Sat, 30 Mar 2002 06:03:08 GMT
dougm       02/03/29 22:03:08

  Modified:    modules/ssl ssl_engine_kernel.c
  Log:
  change sc->server references to myCtxConfig, so proxy can use the
  verify callback.
  
  Revision  Changes    Path
  1.63      +3 -2      httpd-2.0/modules/ssl/ssl_engine_kernel.c
  
  Index: ssl_engine_kernel.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/ssl/ssl_engine_kernel.c,v
  retrieving revision 1.62
  retrieving revision 1.63
  diff -u -r1.62 -r1.63
  --- ssl_engine_kernel.c	30 Mar 2002 05:40:02 -0000	1.62
  +++ ssl_engine_kernel.c	30 Mar 2002 06:03:08 -0000	1.63
  @@ -1265,6 +1265,7 @@
       SSLSrvConfigRec *sc = mySrvConfig(s);
       SSLDirConfigRec *dc = r ? myDirConfig(r) : NULL;
       SSLConnRec *sslconn = myConnConfig(conn);
  +    modssl_ctx_t *mctx  = myCtxConfig(sslconn);
   
       /* Get verify ingredients */
       int errnum   = X509_STORE_CTX_get_error(ctx);
  @@ -1301,7 +1302,7 @@
           verify = dc->nVerifyClient;
       }
       else {
  -        verify = sc->server->auth.verify_mode;
  +        verify = mctx->auth.verify_mode;
       }
   
       if (ssl_verify_error_is_optional(errnum) &&
  @@ -1344,7 +1345,7 @@
           depth = dc->nVerifyDepth;
       }
       else {
  -        depth = sc->server->auth.verify_depth;
  +        depth = mctx->auth.verify_depth;
       }
   
       if (errdepth > depth) {
  
  
  

Mime
View raw message