John Denney <jdenney@ca.mdis.com> reports that we forgot to convert
authorRichard Levitte <levitte@openssl.org>
Wed, 18 Oct 2000 19:36:27 +0000 (19:36 +0000)
committerRichard Levitte <levitte@openssl.org>
Wed, 18 Oct 2000 19:36:27 +0000 (19:36 +0000)
Free to OPENSSL_free in the SSL demos.

demos/ssl/cli.cpp
demos/ssl/inetdsrv.cpp
demos/ssl/serv.cpp

index daea2bd9c7afe36b3a1b42b73a119e8bb68810e4..49cba5da0c81d1bbf724a2af82656ac36a901c03 100644 (file)
@@ -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. */
index 5b09227210693f6c8983c4b9857fa1405de66edc..efd70d2771b8718b26c96446d3728960be64b16a 100644 (file)
@@ -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. */
index aec610d018941596c1cab63ff20bd1312efcb7db..b142c758d2c26c03de36e880a401830aef088b3a 100644 (file)
@@ -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. */