You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ja...@apache.org on 2020/10/11 07:50:47 UTC

svn commit: r1882399 - in /httpd/httpd/trunk/modules/md: mod_md_ocsp.c mod_md_ocsp.h

Author: jailletc36
Date: Sun Oct 11 07:50:46 2020
New Revision: 1882399

URL: http://svn.apache.org/viewvc?rev=1882399&view=rev
Log:
'md_ocsp_get_stapling_status()' should return int, not apr_status_t.

This is similar to r1876549 for another function.

Modified:
    httpd/httpd/trunk/modules/md/mod_md_ocsp.c
    httpd/httpd/trunk/modules/md/mod_md_ocsp.h

Modified: httpd/httpd/trunk/modules/md/mod_md_ocsp.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/md/mod_md_ocsp.c?rev=1882399&r1=1882398&r2=1882399&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/md/mod_md_ocsp.c (original)
+++ httpd/httpd/trunk/modules/md/mod_md_ocsp.c Sun Oct 11 07:50:46 2020
@@ -75,7 +75,7 @@ declined:
     return DECLINED;
 }
 
-apr_status_t md_ocsp_get_stapling_status(unsigned char **pder, int *pderlen, 
+int md_ocsp_get_stapling_status(unsigned char **pder, int *pderlen, 
                                          conn_rec *c, server_rec *s, X509 *cert)
 {
     md_srv_conf_t *sc;

Modified: httpd/httpd/trunk/modules/md/mod_md_ocsp.h
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/md/mod_md_ocsp.h?rev=1882399&r1=1882398&r2=1882399&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/md/mod_md_ocsp.h (original)
+++ httpd/httpd/trunk/modules/md/mod_md_ocsp.h Sun Oct 11 07:50:46 2020
@@ -21,8 +21,8 @@
 int md_ocsp_init_stapling_status(server_rec *s, apr_pool_t *p, 
                                  X509 *cert, X509 *issuer);
 
-apr_status_t md_ocsp_get_stapling_status(unsigned char **pder, int *pderlen, 
-                                         conn_rec *c, server_rec *s, X509 *cert);
+int md_ocsp_get_stapling_status(unsigned char **pder, int *pderlen, 
+                                conn_rec *c, server_rec *s, X509 *cert);
                           
 /**
  * Start watchdog for retrieving/updating ocsp status.