[core] const correct certificate_clone

This commit is contained in:
Armin Novak 2023-01-17 16:08:57 +01:00 committed by Martin Fleisz
parent 78b8df86bc
commit fd4ddcb640
2 changed files with 2 additions and 2 deletions

View File

@ -1018,7 +1018,7 @@ void key_free(rdpRsaKey* key)
free(key);
}
rdpCertificate* certificate_clone(rdpCertificate* certificate)
rdpCertificate* certificate_clone(const rdpCertificate* certificate)
{
UINT32 index;

View File

@ -50,7 +50,7 @@ FREERDP_LOCAL BOOL certificate_read_server_certificate(rdpCertificate* certifica
FREERDP_LOCAL BOOL certificate_write_server_certificate(rdpCertificate* certificate,
UINT32 dwVersion, wStream* s);
FREERDP_LOCAL rdpCertificate* certificate_clone(rdpCertificate* certificate);
FREERDP_LOCAL rdpCertificate* certificate_clone(const rdpCertificate* certificate);
FREERDP_LOCAL rdpCertificate* certificate_new(void);
FREERDP_LOCAL void certificate_free(rdpCertificate* certificate);