Commit 51803fc2 authored by Joe Orton's avatar Joe Orton
Browse files

* 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
parent ef57c80c
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -1408,7 +1408,7 @@ int ssl_callback_SSLVerify_CRL(int ok, X509_STORE_CTX *ctx, conn_rec *c)
            BIO_printf(bio, ", nextUpdate: ");
            BIO_printf(bio, ", nextUpdate: ");
            ASN1_UTCTIME_print(bio, X509_CRL_get_nextUpdate(crl));
            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';
            buff[n] = '\0';


            BIO_free(bio);
            BIO_free(bio);