Loading demos/ssl/cli.cpp +2 −2 Original line number Diff line number Diff line Loading @@ -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. */ Loading demos/ssl/inetdsrv.cpp +2 −2 Original line number Diff line number Diff line Loading @@ -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. */ Loading demos/ssl/serv.cpp +2 −2 Original line number Diff line number Diff line Loading @@ -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. */ Loading Loading
demos/ssl/cli.cpp +2 −2 Original line number Diff line number Diff line Loading @@ -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. */ Loading
demos/ssl/inetdsrv.cpp +2 −2 Original line number Diff line number Diff line Loading @@ -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. */ Loading
demos/ssl/serv.cpp +2 −2 Original line number Diff line number Diff line Loading @@ -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. */ Loading