diff options
author | Joe Orton <jorton@apache.org> | 2005-06-03 12:54:53 +0000 |
---|---|---|
committer | Joe Orton <jorton@apache.org> | 2005-06-03 12:54:53 +0000 |
commit | bb7e57a5990785d496d14acbfe8d45fe9afd24d8 (patch) | |
tree | 632c0cef6d1d040bee94ae702480e74a35870530 | |
parent | 2ca6f80d77e0567dd97f173890c6d66474ed8ffc (diff) | |
download | httpd-bb7e57a5990785d496d14acbfe8d45fe9afd24d8.tar.gz |
* modules/ssl/ssl_engine_kernel.c (ssl_callback_SSLVerify_CRL): Fix
off-by-one.
PR: 35081
Submitted by: Marc Stern <mstern csc.com>
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/ssl@179781 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | ssl_engine_kernel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl_engine_kernel.c b/ssl_engine_kernel.c index e2756dcfd0..03b1e88ce9 100644 --- a/ssl_engine_kernel.c +++ b/ssl_engine_kernel.c @@ -1408,7 +1408,7 @@ int ssl_callback_SSLVerify_CRL(int ok, X509_STORE_CTX *ctx, conn_rec *c) BIO_printf(bio, ", nextUpdate: "); ASN1_UTCTIME_print(bio, X509_CRL_get_nextUpdate(crl)); - n = BIO_read(bio, buff, sizeof(buff)); + n = BIO_read(bio, buff, sizeof(buff) - 1); buff[n] = '\0'; BIO_free(bio); |