diff options
author | Richard Levitte <levitte@openssl.org> | 2000-10-18 19:36:27 +0000 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2000-10-18 19:36:27 +0000 |
commit | ef0ab7f94f29ae82c409a8c090d5787e8351be27 (patch) | |
tree | 8d7e4efb35d39cf37ed44b1b2be5eec990cd0f25 | |
parent | bf55ece1c17d31f082e3a7df44e605218b1f03f1 (diff) |
John Denney <jdenney@ca.mdis.com> reports that we forgot to convert
Free to OPENSSL_free in the SSL demos.
-rw-r--r-- | demos/ssl/cli.cpp | 4 | ||||
-rw-r--r-- | demos/ssl/inetdsrv.cpp | 4 | ||||
-rw-r--r-- | demos/ssl/serv.cpp | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/demos/ssl/cli.cpp b/demos/ssl/cli.cpp index daea2bd9c7..49cba5da0c 100644 --- a/demos/ssl/cli.cpp +++ b/demos/ssl/cli.cpp @@ -79,12 +79,12 @@ void main () str = X509_NAME_oneline (X509_get_subject_name (server_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 (server_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. */ diff --git a/demos/ssl/inetdsrv.cpp b/demos/ssl/inetdsrv.cpp index 5b09227210..efd70d2771 100644 --- a/demos/ssl/inetdsrv.cpp +++ b/demos/ssl/inetdsrv.cpp @@ -65,12 +65,12 @@ void main () str = X509_NAME_oneline (X509_get_subject_name (client_cert)); CHK_NULL(str); fprintf (log, "\t subject: %s\n", str); - Free (str); + OPENSSL_free (str); str = X509_NAME_oneline (X509_get_issuer_name (client_cert)); CHK_NULL(str); fprintf (log, "\t issuer: %s\n", str); - Free (str); + OPENSSL_free (str); /* We could do all sorts of certificate verification stuff here before deallocating the certificate. */ 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. */ |