How could you determine in secure_destruct which references are important?
How can b be "hej" when it's supposed to be the same value as a, and you haven't sent a as lvalue anywhere to get it changed?
I can't see how such a function could work without a secure-free-flag.
/ Mirar
Previous text:
2003-01-28 17:55: Subject: Re: OpenSSL wrapper vs Pike's SSL (Was: Bz2)
"hej" and "hej". You have to keep track of references yourself, or rather, avoid making a lots of them. I don't see this as a problem. If the key happens to be "Hello World", and it is already a shared string for other purposes, I don't see why it should be removed.
/ Martin Nilsson (Åskblod)