X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=blobdiff_plain;f=demos%2Fssl%2Finetdsrv.cpp;h=efd70d2771b8718b26c96446d3728960be64b16a;hp=b09c8b6e0bb90ab46c1847de9bf5513ed1f1021d;hb=bd1fb772457891c99b6c676d04fdbd6c86aca45b;hpb=d02b48c63a58ea4367a0e905979f140b7d090f86 diff --git a/demos/ssl/inetdsrv.cpp b/demos/ssl/inetdsrv.cpp index b09c8b6e0b..efd70d2771 100644 --- a/demos/ssl/inetdsrv.cpp +++ b/demos/ssl/inetdsrv.cpp @@ -8,11 +8,11 @@ #include #include "rsa.h" /* SSLeay stuff */ -#include "crypto.h" -#include "x509.h" -#include "pem.h" -#include "ssl.h" -#include "err.h" +#include +#include +#include +#include +#include #define HOME "/usr/users/sampo/demo/" #define CERTF HOME "plain-cert.pem" @@ -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. */