Hi Gerri,
this fails to build on SLC4.
Cheers,
Lukasz
DHAVE_READLINE=1 -I. -I. -I../../src -I/usr/include/ -I/usr/include
-g -O2 -g -pipe -m64 -D_REENTRANT -c -o
libXrdCryptossl_la-XrdCryptosslFactory.lo `test -f
'XrdCryptosslFactory.cc' || echo './'`XrdCryptosslFactory.cc
XrdCryptosslgsiAux.cc: In function `int
XrdSslgsiX509FillUnknownExt(const unsigned char**, long int)':
XrdCryptosslgsiAux.cc:1380: error: invalid conversion from `const
unsigned char**' to `unsigned char**'
XrdCryptosslgsiAux.cc:1380: error: initializing argument 1 of `int
ASN1_get_object(unsigned char**, long int*, int*, int*, long int)'
XrdCryptosslgsiAux.cc:1451: error: invalid conversion from `const
unsigned char**' to `unsigned char**'
XrdCryptosslgsiAux.cc:1451: error: initializing argument 2 of
`ASN1_OBJECT* d2i_ASN1_OBJECT(ASN1_OBJECT**, unsigned char**, long
int)'
XrdCryptosslgsiAux.cc:1461: error: invalid conversion from `const
unsigned char**' to `unsigned char**'
XrdCryptosslgsiAux.cc:1461: error: initializing argument 2 of `int
d2i_ASN1_BOOLEAN(int*, unsigned char**, long int)'
XrdCryptosslgsiAux.cc:1472: error: invalid conversion from `const
unsigned char**' to `unsigned char**'
XrdCryptosslgsiAux.cc:1472: error: initializing argument 2 of
`ASN1_OCTET_STRING* d2i_ASN1_OCTET_STRING(ASN1_OCTET_STRING**,
unsigned char**, long int)'
XrdCryptosslgsiAux.cc:1512: error: invalid conversion from `const
unsigned char**' to `unsigned char**'
XrdCryptosslgsiAux.cc:1512: error: initializing argument 2 of
`ASN1_INTEGER* d2i_ASN1_INTEGER(ASN1_INTEGER**, unsigned char**, long
int)'
XrdCryptosslgsiAux.cc:1536: error: invalid conversion from `const
unsigned char**' to `unsigned char**'
XrdCryptosslgsiAux.cc:1536: error: initializing argument 2 of
`ASN1_ENUMERATED* d2i_ASN1_ENUMERATED(ASN1_ENUMERATED**, unsigned
char**, long int)'
XrdCryptosslgsiAux.cc: In function `int XrdSslgsiX509FillVOMS(const
unsigned char**, long int, bool&, XrdOucString&)':
XrdCryptosslgsiAux.cc:1686: error: invalid conversion from `const
unsigned char**' to `unsigned char**'
XrdCryptosslgsiAux.cc:1686: error: initializing argument 1 of `int
ASN1_get_object(unsigned char**, long int*, int*, int*, long int)'
XrdCryptosslgsiAux.cc:1730: error: invalid conversion from `const
unsigned char**' to `unsigned char**'
XrdCryptosslgsiAux.cc:1730: error: initializing argument 2 of
`ASN1_OBJECT* d2i_ASN1_OBJECT(ASN1_OBJECT**, unsigned char**, long
int)'
XrdCryptosslgsiAux.cc:1744: error: invalid conversion from `const
unsigned char**' to `unsigned char**'
XrdCryptosslgsiAux.cc:1744: error: initializing argument 2 of
`ASN1_OCTET_STRING* d2i_ASN1_OCTET_STRING(ASN1_OCTET_STRING**,
unsigned char**, long int)'
make[3]: *** [libXrdSSLutil_la-XrdCryptosslgsiAux.lo] Error 1
2011/6/16 Gerardo Ganis <[log in to unmask]>:
> This is an automated email from the git hooks/post-receive script. It was
> generated because a ref change was pushed to the repository containing
> the project "xrootd".
>
> The branch, master has been updated
> via 36b3e22da81063caea6f08e9a9427008a1d8a565 (commit)
> via 6ac439dd74f4461c0fa0bbf97479f855f64ee41c (commit)
> from 79cba5390a2de8643e601781af34b91207693f44 (commit)
>
> Those revisions listed above that are new to this repository have
> not appeared on any other notification email; so we list those
> revisions in full, below.
>
> - Log -----------------------------------------------------------------
> commit 36b3e22da81063caea6f08e9a9427008a1d8a565
> Author: Gerri Ganis <[log in to unmask]>
> Date: Thu Jun 16 21:33:03 2011 +0200
>
> First version of the VOMS attributes extraction/parser code.
> The attributes are assumed to be in the FQAN form
>
> /VO[/group[/subgroup(s)]][/Role=role][/Capability=cap]
>
> There can be many of these. The XrdSecEntity fields 'vorg' and 'role' are filled accordingly.
> All attributes (comma-separated) are copied to 'endorsements'.
> This parsing can be switched off with the setting '-vomsat:0' in the sec 'gsi' directive.
>
> The new function
> int XrdSslgsiX509GetVOMSAttr(XrdCryptoX509 *, XrdOucString &);
>
> is used to extract the attributes (header in XrdCryptosslgsiAux.hh).
>
> Alternative parsing can be done in any authz-plugin. An example is under preparation.
>
> The 'info' option of 'xrdgsiproxy' has been modified to display also the VOMS attribute,
> if present.
>
> commit 6ac439dd74f4461c0fa0bbf97479f855f64ee41c
> Author: Gerri Ganis <[log in to unmask]>
> Date: Thu Jun 16 21:32:47 2011 +0200
>
> First version of the VOMS attributes extraction/parser code.
> The attributes are assumed to be in the FQAN form
>
> /VO[/group[/subgroup(s)]][/Role=role][/Capability=cap]
>
> There can be many of these. The XrdSecEntity fields 'vorg' and 'role' are filled accordingly.
> All attributes (comma-separated) are copied to 'endorsements'.
> This parsing can be switched off with the setting '-vomsat:0' in the sec 'gsi' directive.
>
> The new function
> int XrdSslgsiX509GetVOMSAttr(XrdCryptoX509 *, XrdOucString &);
>
> is used to extract the attributes (header in XrdCryptosslgsiAux.hh).
>
> Alternative parsing can be done in any authz-plugin. An example is under preparation.
>
> The 'info' option of 'xrdgsiproxy' has been modified to display also the VOMS attribute,
> if present.
>
> -----------------------------------------------------------------------
>
> Summary of changes:
> docs/PreReleaseNotes.txt | 5 +
> src/XrdCrypto/XrdCryptosslgsiAux.cc | 592 ++++++++++++++++++++++++++++++++---
> src/XrdCrypto/XrdCryptosslgsiAux.hh | 8 +
> src/XrdSecgsi/XrdSecProtocolgsi.cc | 81 +++++
> src/XrdSecgsi/XrdSecProtocolgsi.hh | 7 +-
> src/XrdSecgsi/XrdSecgsiProxy.cc | 9 +
> 6 files changed, 663 insertions(+), 39 deletions(-)
>
>
> hooks/post-receive
> --
> xrootd
>
|