> The 3-slot function is I think cleaner. > > I'll leave the decision of whether and when to support NULL parameters to > the folks working on that code, but it is pretty clear that one must not pass > an > object one does not "own", such as one returned from a "get0" function, to a > function that expects to take ownership of the indicated object.
Agree with both of those. After a "set0" call, set your pointer to NULL, it's no longer yours :) -- openssl-dev mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev