projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0cc0db3
)
Free SSL_CTX after BIO
author
Dr. Stephen Henson
<steve@openssl.org>
Wed, 30 Sep 2009 21:35:26 +0000
(21:35 +0000)
committer
Dr. Stephen Henson
<steve@openssl.org>
Wed, 30 Sep 2009 21:35:26 +0000
(21:35 +0000)
apps/ocsp.c
patch
|
blob
|
history
diff --git
a/apps/ocsp.c
b/apps/ocsp.c
index 03944c0757887645432b2eae6b1d0095c14ed3f4..173a67b4c47da581ea722ede9308c6f50777bcd6 100644
(file)
--- a/
apps/ocsp.c
+++ b/
apps/ocsp.c
@@
-1385,10
+1385,10
@@
OCSP_RESPONSE *process_responder(BIO *err, OCSP_REQUEST *req,
if (!resp)
BIO_printf(bio_err, "Error querying OCSP responsder\n");
end:
- if (ctx)
- SSL_CTX_free(ctx);
if (cbio)
BIO_free_all(cbio);
+ if (ctx)
+ SSL_CTX_free(ctx);
return resp;
}