On Mon, Mar 30, 2009, Goblin_Queen wrote: > > If this is wrong again, could you please tell me what IS the correct way of > getting the size of sha1_data2? I don't think I know other options than > sizeof or strlen... > >
Well it should be available when you base64 decode the data. For SHA1 it will always be 20. This manual page may help: http://www.openssl.org/docs/apps/rsautl.html you can use rsautl to analyse the signatures produced and see what the actual data being signed is. Steve. -- Dr Stephen N. Henson. Email, S/MIME and PGP keys: see homepage OpenSSL project core developer and freelance consultant. Homepage: http://www.drh-consultancy.demon.co.uk ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager majord...@openssl.org