Bug #514 ยป ruby-changes.patch
ext/openssl/ossl_ocsp.c (working copy) | ||
---|---|---|
ossl_raise(eOCSPError, NULL);
|
||
str = rb_str_new(0, len);
|
||
p = (unsigned char *)RSTRING_PTR(str);
|
||
if(i2d_OCSP_RESPONSE(res, NULL) <= 0)
|
||
if(i2d_OCSP_RESPONSE(res, &p) <= 0)
|
||
ossl_raise(eOCSPError, NULL);
|
||
ossl_str_adjust(str, p);
|
||