Accept NULL in *_free.

This commit is contained in:
Ben Laurie
1999-01-07 19:15:59 +00:00
parent 6fa89f94c4
commit e03ddfae7e
24 changed files with 66 additions and 4 deletions

View File

@@ -105,6 +105,9 @@ CERT *c;
{
int i;
if(c == NULL)
return;
i=CRYPTO_add(&c->references,-1,CRYPTO_LOCK_SSL_CERT);
#ifdef REF_PRINT
REF_PRINT("CERT",c);