From eab953f6bb8c9ce14dfbce26030e1e94e757c3b7 Mon Sep 17 00:00:00 2001 From: Andrew McNab Date: Tue, 12 Oct 2010 15:02:11 +0000 Subject: [PATCH] Sync --- org.gridsite.core/src/grst_x509.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/org.gridsite.core/src/grst_x509.c b/org.gridsite.core/src/grst_x509.c index cd87369..09745bf 100644 --- a/org.gridsite.core/src/grst_x509.c +++ b/org.gridsite.core/src/grst_x509.c @@ -662,11 +662,11 @@ static int GRSTx509ChainVomsAdd(GRSTx509Cert **grst_cert, if (itag > -1) { - acissuserserialASN1.length = taglist[itag].length; - acissuserserialASN1.type = V_ASN1_INTEGER; - acissuserserialASN1.data = &asn1string[taglist[itag].start+taglist[itag].headerlength]; + acissuerserialASN1.length = taglist[itag].length; + acissuerserialASN1.type = V_ASN1_INTEGER; + acissuerserialASN1.data = &asn1string[taglist[itag].start+taglist[itag].headerlength]; - acissuserserial = i2s_ASN1_INTEGER(NULL, acissuerserialASN1); + acissuerserial = i2s_ASN1_INTEGER(NULL, acissuerserialASN1); /* p = &asn1string[taglist[itag].start+taglist[itag].headerlength]; @@ -1339,11 +1339,11 @@ int GRSTx509ParseVomsExt(int *lastcred, int maxcreds, size_t credlen, if (itag > -1) { - acissuserserialASN1.length = taglist[itag].length; - acissuserserialASN1.type = V_ASN1_INTEGER; - acissuserserialASN1.data = &asn1string[taglist[itag].start+taglist[itag].headerlength]; + acissuerserialASN1.length = taglist[itag].length; + acissuerserialASN1.type = V_ASN1_INTEGER; + acissuerserialASN1.data = &asn1string[taglist[itag].start+taglist[itag].headerlength]; - acissuserserial = i2s_ASN1_INTEGER(NULL, acissuerserialASN1); + acissuerserial = i2s_ASN1_INTEGER(NULL, acissuerserialASN1); /* p = &asn1string[taglist[itag].start+taglist[itag].headerlength]; -- 1.8.2.3