I'm also working on IPv6 support (also for the openssl s_client and
s_server apps). I use code like
#if OPENSSL_USE_IPV6
struct sockaddr_storage server, client;
#else
struct sockaddr_in server, client;
#endif
This should be portable.
Best regards
Michael
On Sep 18, 2009, at
Hi all
I want to verify my sign array with OpenSSL library, but I have a problem:
I am using in JavaCard: ALG_ECDSA_SHA and for generate keys
LENGTH_EC_F2M_163 , ALG_EC_F2M
result for this:
private key: 21B,
public key 43B
signLenght 48B r,s squnce
hash diggest is 20B.
and the lengts are
'openssl x509 -text' sometimes shows serial numbers as negative numbers
even though positive integers are used on the certificate. The correct
numbers are show with 'openssl x509 -serial'.
This is reproducable with serial numbers between 2^31 and 2^32 on
32-bits systems. The offending code is