~ubuntu-branches/debian/sid/gridsite/sid

« back to all changes in this revision

Viewing changes to src/mod_gridsite.c

  • Committer: Bazaar Package Importer
  • Author(s): Mattias Ellert
  • Date: 2011-06-20 23:12:08 UTC
  • Revision ID: james.westby@ubuntu.com-20110620231208-bqkya4428dh18q3r
Tags: 1.7.13-5
* Fix linkorder for -Wl,--as-needed (backport from ubuntu)
* Fix pointer to integer conversion (backport from ubuntu)

Show diffs side-by-side

added added

removed removed

Lines of Context:
102
102
#include <libxml/parser.h>
103
103
#include <libxml/tree.h>
104
104
 
 
105
#include <openssl/x509v3.h>
 
106
 
105
107
#include "mod_ssl-private.h"
106
108
 
107
109
#include "gridsite.h"
3664
3666
            if (!ASN1_INTEGER_cmp(sn, X509_get_serialNumber(cert))) {
3665
3667
                if (s->loglevel >= APLOG_DEBUG) {
3666
3668
                    char *cp = X509_NAME_oneline(issuer, NULL, 0);
3667
 
                    char *serial = i2s_ASN1_INTEGER(NULL,ASN1_INTEGER_get(sn));
 
3669
                    char *serial = i2s_ASN1_INTEGER(NULL,sn);
3668
3670
 
3669
3671
                    ap_log_error(APLOG_MARK, APLOG_INFO, 0, s,
3670
3672
                                 "Certificate with serial %s "