From 1205721cbd1930d22b7adcb3211040c7152e3171 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Fri, 24 Apr 2015 15:32:04 +0100 Subject: [base64] Add buffer size parameter to base64_encode() and base64_decode() Signed-off-by: Michael Brown --- src/crypto/ocsp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/crypto') diff --git a/src/crypto/ocsp.c b/src/crypto/ocsp.c index 66e47c57..5df55bc9 100644 --- a/src/crypto/ocsp.c +++ b/src/crypto/ocsp.c @@ -233,7 +233,7 @@ static int ocsp_uri_string ( struct ocsp_check *ocsp ) { goto err_path_base64; } base64_encode ( ocsp->request.builder.data, ocsp->request.builder.len, - path_base64_string ); + path_base64_string, path_len ); /* URI-encode the Base64-encoded request */ memset ( &path_uri, 0, sizeof ( path_uri ) ); -- cgit v1.2.3-55-g7522