FreeRDP/libfreerdp/crypto
Rubycat 68b1614b66 Do not fail on certificates without subject
It is possible to implement an rdp client that accepts certificates by
fingerprint by using VerifyCertificateEx. In case the server uses a
certificate without subject (which, apparently, is not mandated by X509)
freerdp_certificate_data_load_cache fails and the certificate is refused
even before calling VerifyCertificateEx. This commit changes
freerdp_certificate_data_load_cache to consider that missing subject is
the same as an empty string.

Also downgrade the log message complaining about missing subject and
issuer to a warning.
2023-08-21 16:03:36 +02:00
..
test [standard] replace __FUNCTION__ with __func__ 2023-07-27 20:02:43 +02:00
base64.c Test base64url en/decoding 2023-03-10 16:38:07 +01:00
ber.c [libfreerdp] fix integere narrow warnings 2023-07-28 15:48:32 +02:00
cert_common.c [crypto,cert] add openssl3 support 2023-04-28 08:33:06 +02:00
cert_common.h [crypto,cert] add openssl3 support 2023-04-28 08:33:06 +02:00
certificate_data.c Do not fail on certificates without subject 2023-08-21 16:03:36 +02:00
certificate_store.c [crypto,cert] imrove logged warnings for certificates 2023-07-31 08:32:43 +02:00
certificate.c [libfreerdp] fix integere narrow warnings 2023-07-28 15:48:32 +02:00
certificate.h [crypto,cert] add openssl3 support 2023-04-28 08:33:06 +02:00
CMakeLists.txt [license] updated copyright headers 2023-02-12 20:17:11 +01:00
crypto.c [proxy,config] PEM length must contain '\0' 2023-05-08 22:54:53 +02:00
crypto.h [crypto] rename rdpRsaKey to rdpPrivateKey 2023-02-12 20:17:11 +01:00
der.c Freerdp remove #ifdef HAVE_CONFIG_H 2022-03-03 11:26:48 +01:00
er.c Fixed warnings 2022-04-28 11:24:51 +02:00
opensslcompat.c Fix building with LibreSSL 2.7.0 or newer 2022-06-27 12:42:06 +02:00
opensslcompat.h Fix building with LibreSSL 2.7.0 or newer 2022-06-27 12:42:06 +02:00
per.c [stream] use const correct Stream_Pointer access 2023-06-08 08:09:33 +02:00
privatekey.c fix freerdp_key_generate for some versions of OpenSSL (null key->evp) 2023-08-15 15:00:49 +02:00
privatekey.h [crypto,key] add functions for aad 2023-05-10 09:59:10 +02:00
tls.c [crypto,cert] imrove logged warnings for certificates 2023-07-31 08:32:43 +02:00
tls.h Fix usage of explicit server name when different from connection host 2023-06-13 09:20:17 -04:00
x509_utils.c Do not fail on certificates without subject 2023-08-21 16:03:36 +02:00
x509_utils.h [license] updated copyright headers 2023-02-12 20:17:11 +01:00