pluto dies after reading a certificate from a smartcard (Aladdin eToken)
After reading a certificate from a smartcard, pluto dies with a segmentation fault in connection.c:874, function load_end_certificate(). This is true for strongswan 4.4.1 as well as for strongswan 4.4.0. I have seen this behaviour on openSuSE 11.3 x86_64.
The attached patch solves the problem, with this patch applied I can connect using the certificate from my eToken smartcard.