Not strictly necessary; mostly convenience. Decrementing the pointer usually 
requires doing the corresponding  free, which really shouldn’t do anything but 
decrement the refcount if you just got it.
--
-Todd Short
// tsh...@akamai.com<mailto:tsh...@akamai.com>
// "One if by land, two if by sea, three if by the Internet."

On Jun 20, 2016, at 12:18 PM, Rich Salz via RT 
<r...@openssl.org<mailto:r...@openssl.org>> wrote:

Is this needed? Can your get0 function just call get and decrement the
refcount?

--
Ticket here: http://rt.openssl.org/Ticket/Display.html?id=3868
Please log in as guest with password guest if prompted



-- 
Ticket here: http://rt.openssl.org/Ticket/Display.html?id=3868
Please log in as guest with password guest if prompted

-- 
openssl-dev mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev

Reply via email to