In templates, output_on() must be used the same way as output_off()
[openssl.git] / demos / ssl / inetdsrv.cpp
index 5b09227210693f6c8983c4b9857fa1405de66edc..7434030d1aa9dbda4cb5eb7b09cab022b8058ced 100644 (file)
@@ -7,7 +7,7 @@
 #include <stdio.h>
 #include <errno.h>
 
-#include "rsa.h"       /* SSLeay stuff */
+#include "rsa.h"
 #include <openssl/crypto.h>
 #include <openssl/x509.h>
 #include <openssl/pem.h>
@@ -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. */