Re: [openssl-users] RSA_method_set_sign

2017-02-27 Thread Melvyn Sopacua
On Saturday 25 February 2017 12:22:09 Dr. Stephen Henson wrote: > You can set the values in place using something like this: > > unsigned char *tmps = NULL; > int tmpslen; > X509_SIG *sig = X509_SIG_new(); > X509_ALGOR *alg; > ASN1_OCTET_STRING *digest; > X509_SIG_getm(sig, &alg, &digest); > X50

Re: [openssl-users] RSA_method_set_sign

2017-02-25 Thread Dr. Stephen Henson
On Sat, Feb 25, 2017, Melvyn Sopacua wrote: > Hi Stephen, > > thank you for taking the time to answer. > > On Saturday 25 February 2017 04:18:01 Dr. Stephen Henson wrote: > > On Sat, Jan 14, 2017, Melvyn Sopacua wrote: > > > This is caused by the code in [3]. > > > That file also shows the probl

Re: [openssl-users] RSA_method_set_sign

2017-02-25 Thread Melvyn Sopacua
Hi Stephen, thank you for taking the time to answer. On Saturday 25 February 2017 04:18:01 Dr. Stephen Henson wrote: > On Sat, Jan 14, 2017, Melvyn Sopacua wrote: > > This is caused by the code in [3]. > > That file also shows the problem: OpenSSL itself has access to > > X509_SIG (and friends) i

Re: [openssl-users] RSA_method_set_sign

2017-02-24 Thread Dr. Stephen Henson
On Sat, Jan 14, 2017, Melvyn Sopacua wrote: > Hello all, > > Some background: I'd like to have a workstation that uses OpenSSL 1.1 > instead of a lower version. For that I'm porting various pieces of > software and quickly discovered that I was repeating myself. In addition > this teaches me m

[openssl-users] RSA_method_set_sign

2017-01-14 Thread Melvyn Sopacua
Hello all, Some background: I'd like to have a workstation that uses OpenSSL 1.1 instead of a lower version. For that I'm porting various pieces of software and quickly discovered that I was repeating myself. In addition this teaches me more about the OpenSSL library, which I consider a great