On 03.02.2013, at 12:28, "Dr. Stephen Henson" wrote:
> On Sun, Feb 03, 2013, Dongsheng Song wrote:
>
>> On Sun, Feb 3, 2013 at 7:01 PM, Dr. Stephen Henson wrote:
>>> In that above code example if you do:
>>>
>>> X509_gmtime_adj_ex(X509_get_notAfter(x), days, 0, NULL);
>>>
>>> that should res
On Sun, Feb 03, 2013, Dongsheng Song wrote:
> On Sun, Feb 3, 2013 at 7:01 PM, Dr. Stephen Henson wrote:
> > In that above code example if you do:
> >
> > X509_gmtime_adj_ex(X509_get_notAfter(x), days, 0, NULL);
> >
> > that should resolve your problem.
> >
>
> Maybe it should be better:
>
> X50
On Sun, Feb 3, 2013 at 7:01 PM, Dr. Stephen Henson wrote:
> In that above code example if you do:
>
> X509_gmtime_adj_ex(X509_get_notAfter(x), days, 0, NULL);
>
> that should resolve your problem.
>
Maybe it should be better:
X509_time_adj_ex(X509_get_notAfter(x),days, 0, NULL);
On Sat, Feb 02, 2013, Alexander Hollerith wrote:
> Hi,
>
> The php openssl library implements a function named openssl_csr_sign() and
> inside that function one can find the following line:
> X509_gmtime_adj(X509_get_notAfter(new_cert), (long)60*60*24*num_days);
>
> This obviously provokes an ov
Hi
On 02.02.2013 23:55, Alexander Hollerith wrote:
The php openssl library implements a function named openssl_csr_sign() and
inside that function one can find the following line:
X509_gmtime_adj(X509_get_notAfter(new_cert), (long)60*60*24*num_days);
This obviously provokes an overflow
Hi,
The php openssl library implements a function named openssl_csr_sign() and
inside that function one can find the following line:
X509_gmtime_adj(X509_get_notAfter(new_cert), (long)60*60*24*num_days);
This obviously provokes an overflow in cases of large values of "num_days", say
365