summaryrefslogtreecommitdiff
path: root/demos/ssl/serv.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'demos/ssl/serv.cpp')
-rw-r--r--demos/ssl/serv.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/demos/ssl/serv.cpp b/demos/ssl/serv.cpp
index aec610d018..b142c758d2 100644
--- a/demos/ssl/serv.cpp
+++ b/demos/ssl/serv.cpp
@@ -121,12 +121,12 @@ void main ()
str = X509_NAME_oneline (X509_get_subject_name (client_cert), 0, 0);
CHK_NULL(str);
printf ("\t subject: %s\n", str);
- Free (str);
+ OPENSSL_free (str);
str = X509_NAME_oneline (X509_get_issuer_name (client_cert), 0, 0);
CHK_NULL(str);
printf ("\t issuer: %s\n", str);
- Free (str);
+ OPENSSL_free (str);
/* We could do all sorts of certificate verification stuff here before
deallocating the certificate. */