]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
'md_ocsp_get_stapling_status()' should return int, not apr_status_t.
authorChristophe Jaillet <jailletc36@apache.org>
Sun, 11 Oct 2020 07:50:46 +0000 (07:50 +0000)
committerChristophe Jaillet <jailletc36@apache.org>
Sun, 11 Oct 2020 07:50:46 +0000 (07:50 +0000)
This is similar to r1876549 for another function.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1882399 13f79535-47bb-0310-9956-ffa450edef68

modules/md/mod_md_ocsp.c
modules/md/mod_md_ocsp.h

index 2891f331cc776b2a4a1db4db25882dc3bf524d64..2a01d5a846729dfa572433aa1d985278c460d52d 100644 (file)
@@ -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;
index 9b36687434c3024ff9d98f77ec438b7d5d222a0e..ee58df678a7a746b412eb8cef81eb55c04060ff0 100644 (file)
@@ -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.