You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by jo...@apache.org on 2004/02/10 13:17:44 UTC

cvs commit: httpd-2.0/modules/ssl ssl_engine_pphrase.c

jorton      2004/02/10 04:17:44

  Modified:    modules/ssl ssl_engine_pphrase.c
  Log:
  * modules/ssl/ssl_engine_pphrase.c: Note that the ERR_clear_error()
  call is not merely a cosmetic fix in light of PR 21160.
  
  Revision  Changes    Path
  1.50      +3 -2      httpd-2.0/modules/ssl/ssl_engine_pphrase.c
  
  Index: ssl_engine_pphrase.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/ssl/ssl_engine_pphrase.c,v
  retrieving revision 1.49
  retrieving revision 1.50
  diff -b -d -u -r1.49 -r1.50
  --- ssl_engine_pphrase.c	9 Feb 2004 20:29:22 -0000	1.49
  +++ ssl_engine_pphrase.c	10 Feb 2004 12:17:44 -0000	1.50
  @@ -340,8 +340,9 @@
                   cpPassPhraseCur = NULL;
                   ssl_pphrase_server_rec = s; /* to make up for sslc flaw */
   
  -                /* Ensure that the error stack is empty; otherwise the
  -                 * OpenSSL UI code may dump it to stderr. */
  +                /* Ensure that the error stack is empty; some SSL
  +                 * functions will fail spuriously if the error stack
  +                 * is not empty. */
                   ERR_clear_error();
   
                   bReadable = ((pPrivateKey = SSL_read_PrivateKey(szPath, NULL,