From e8d25f835de36a5acd1d1ba551fa42610a6e4e98 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Franti=C5=A1ek=20Dvo=C5=99=C3=A1k?= Date: Mon, 27 Jun 2011 15:36:00 +0000 Subject: [PATCH] Pointer vs integer portability fix, SB #83449. --- org.gridsite.core/src/mod_gridsite.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/org.gridsite.core/src/mod_gridsite.c b/org.gridsite.core/src/mod_gridsite.c index d9bf970..c89392d 100644 --- a/org.gridsite.core/src/mod_gridsite.c +++ b/org.gridsite.core/src/mod_gridsite.c @@ -102,6 +102,8 @@ #include #include +#include + #include "mod_ssl-private.h" #include "gridsite.h" @@ -3664,7 +3666,7 @@ int GRST_ssl_callback_SSLVerify_CRL(int ok, X509_STORE_CTX *ctx, conn_rec *c) if (!ASN1_INTEGER_cmp(sn, X509_get_serialNumber(cert))) { if (s->loglevel >= APLOG_DEBUG) { char *cp = X509_NAME_oneline(issuer, NULL, 0); - char *serial = i2s_ASN1_INTEGER(NULL,ASN1_INTEGER_get(sn)); + char *serial = i2s_ASN1_INTEGER(NULL,sn); ap_log_error(APLOG_MARK, APLOG_INFO, 0, s, "Certificate with serial %s " -- 1.8.2.3