[core] const correct certificate_clone
This commit is contained in:
parent
78b8df86bc
commit
fd4ddcb640
@ -1018,7 +1018,7 @@ void key_free(rdpRsaKey* key)
|
||||
free(key);
|
||||
}
|
||||
|
||||
rdpCertificate* certificate_clone(rdpCertificate* certificate)
|
||||
rdpCertificate* certificate_clone(const rdpCertificate* certificate)
|
||||
{
|
||||
UINT32 index;
|
||||
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user